@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --forest:    #0d1f0d;
  --deep:      #122112;
  --bark:      #1a321a;
  --moss:      #254d21;
  --leaf:      #3a6e30;
  --lime:      #4f9e3e;
  --pale:      #c8e6be;
  --cream:     #f2f7ef;
  --white:     #ffffff;
  --border:    rgba(255,255,255,0.10);
  --border-dk: rgba(0,0,0,0.10);
  --muted:     rgba(255,255,255,0.50);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --nav-h:     70px;
  --r:         6px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--forest);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Security: prevent text selection on sensitive areas */
  -webkit-tap-highlight-color: transparent;
}

/* ── SECURITY: disable image drag ── */
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
img.clickable { pointer-events: auto; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
  background: rgba(10,20,10,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img {
  height: 50px; width: 50px;
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  pointer-events: none !important;
}
.nav-logo-name { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; line-height: 1.15; }
.nav-logo-name span { color: rgba(255,255,255,0.5); display: block; font-size: 10px; font-family: var(--sans); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
/* Centered nav links */
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r); transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--white); font-weight: 700; }
.nav-cta-btn { margin-left: 0; background: var(--leaf) !important; color: var(--white) !important; padding: 9px 18px !important; border-radius: var(--r) !important; font-weight: 600 !important; letter-spacing: 0.04em !important; transition: background 0.2s !important; text-transform: none !important; }
.nav-cta-btn:hover { background: var(--moss) !important; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 190;
  background: rgba(15,36,16,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 14px 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color 0.2s, background 0.2s; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--white); background: rgba(255,255,255,0.05); }
.mobile-nav a.active { color: var(--lime); }
.mobile-nav .mob-cta { background: var(--leaf); color: var(--white) !important; margin: 1rem 1.5rem 0.5rem; border-radius: var(--r); border-bottom: none !important; text-align: center; font-weight: 700 !important; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 2rem 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; filter: saturate(0.7); pointer-events: none !important; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,36,16,1) 0%, rgba(15,36,16,0.55) 55%, rgba(15,36,16,0.2) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding-bottom: 3rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.4rem; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--lime); border-radius: 2px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; line-height: 1.08; color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 460px; line-height: 1.8; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── STATS STRIP ── */
.stats-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.stat-item { padding: 1.4rem 0.5rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--lime); line-height: 1; }
.stat-lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ── BUTTONS ── */
.btn-green { display: inline-flex; align-items: center; gap: 8px; background: var(--leaf); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; padding: 13px 26px; border-radius: var(--r); text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.btn-green:hover { background: var(--moss); transform: translateY(-1px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: var(--r); text-decoration: none; border: 1.5px solid rgba(255,255,255,0.28); cursor: pointer; transition: border-color 0.2s, background 0.2s; white-space: nowrap; }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--moss); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; padding: 13px 30px; border-radius: var(--r); text-decoration: none; transition: background 0.2s; }
.btn-white:hover { background: var(--pale); }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-cream { background: var(--cream); color: #1a2e18; }
.section-bark { background: var(--bark); }
.section-deep { background: var(--deep); }
.container { max-width: 1080px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.9rem; }
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--lime); border-radius: 2px; }
.eyebrow.on-light { color: var(--moss); }
.eyebrow.on-light::before { background: var(--moss); }
h2.display { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 900; line-height: 1.12; margin-bottom: 1rem; }
h2.display.dark { color: #1a2e18; }
.lead { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 520px; margin-bottom: 2.5rem; }
.lead.dark { color: #4a6644; }

/* ── SERVICE TILES ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.service-tile { background: var(--bark); padding: 2rem 1.6rem; transition: background 0.25s; position: relative; overflow: hidden; }
.service-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-tile:hover { background: var(--moss); }
.service-tile:hover::before { transform: scaleX(1); }
.tile-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: rgba(109,191,90,0.18); line-height: 1; margin-bottom: 1rem; }
.service-tile h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.service-tile p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.tile-arrow { display: inline-block; margin-top: 1rem; font-size: 12px; font-weight: 700; color: var(--lime); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* ── WHY GRID ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.8rem; }
.why-item { }
.why-icon { font-size: 24px; margin-bottom: 10px; }
.why-rule { width: 24px; height: 3px; background: var(--leaf); border-radius: 2px; margin: 8px 0 10px; }
.why-item h4 { font-size: 14px; font-weight: 700; color: #1a2e18; margin-bottom: 5px; }
.why-item p { font-size: 13px; color: #4a6644; line-height: 1.7; }

/* ── GALLERY ── */
.gallery-masonry { columns: 3; column-gap: 10px; }
.gallery-item { break-inside: avoid; margin-bottom: 10px; border-radius: var(--r); overflow: hidden; position: relative; cursor: pointer; display: block; }
.gallery-item img.clickable { width: 100%; display: block; transition: transform 0.4s, filter 0.3s; filter: saturate(0.75); pointer-events: auto !important; }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(15,36,16,0.88)); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 12px; pointer-events: none; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 12px; color: var(--white); font-weight: 600; }

/* ── AREAS ── */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px; }
.area-card { border: 1px solid var(--border); border-radius: var(--r); padding: 14px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.area-card:hover { border-color: var(--leaf); color: var(--white); background: rgba(74,140,63,0.12); }
.area-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

/* ── SERVICE DETAIL ── */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 4rem 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block.flip .sb-img { order: 2; }
.service-block.flip .sb-text { order: 1; }
.sb-img { position: relative; }
.sb-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; filter: saturate(0.8); transition: filter 0.4s; pointer-events: none !important; }
.sb-img:hover img { filter: saturate(1.1); }
.sb-badge { position: absolute; top: -14px; left: -14px; width: 56px; height: 56px; border-radius: 50%; background: var(--leaf); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 900; color: var(--white); }
.sb-text h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 900; color: var(--white); margin-bottom: 0.9rem; line-height: 1.2; }
.sb-text p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; }
.sb-features { list-style: none; padding: 0; margin-bottom: 1.4rem; }
.sb-features li { font-size: 13px; color: rgba(255,255,255,0.7); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; gap: 10px; }
.sb-features li::before { content: '✓'; color: var(--lime); font-weight: 700; flex-shrink: 0; }
.sb-note { display: inline-block; background: rgba(74,140,63,0.15); border: 1px solid rgba(74,140,63,0.35); border-radius: var(--r); padding: 10px 14px; font-size: 13px; color: var(--lime); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info-item { margin-bottom: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 5px; }
.ci-val { font-size: 15px; color: var(--white); line-height: 1.6; }
.ci-val a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color 0.2s, color 0.2s; }
.ci-val a:hover { border-color: var(--lime); color: var(--lime); }
.contact-form-box { background: var(--bark); border: 1px solid var(--border); border-radius: 10px; padding: 2.2rem; }
.contact-form-box h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: var(--r); font-size: 14px; font-family: var(--sans); color: var(--white); outline: none; transition: border-color 0.2s, background 0.2s; -webkit-appearance: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--leaf); background: rgba(74,140,63,0.08); }
.form-group select option { background: var(--bark); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit { width: 100%; padding: 14px; background: var(--leaf); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; border: none; border-radius: var(--r); cursor: pointer; transition: background 0.2s; margin-top: 6px; font-family: var(--sans); }
.btn-submit:hover { background: var(--moss); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.form-note a { color: var(--lime); text-decoration: none; }

/* ── FILTER BUTTONS ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 8px 18px; background: transparent; border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.filter-btn:hover { border-color: var(--leaf); color: var(--white); }
.filter-btn.active { background: var(--leaf); border-color: var(--leaf); color: var(--white); }

/* ── CTA BAND ── */
.cta-band { background: var(--leaf); padding: 4.5rem 2rem; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--white); margin-bottom: 0.7rem; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; }

/* ── LIGHTBOX ── */
#lightbox { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(8,20,8,0.97); align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--r); pointer-events: none !important; }
#lb-close { position: fixed; top: 20px; right: 24px; font-size: 28px; color: var(--muted); background: rgba(255,255,255,0.1); border: 1px solid var(--border); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color 0.2s, background 0.2s; }
#lb-close:hover { color: var(--white); background: rgba(255,255,255,0.2); }

/* ── FOOTER ── */
footer { background: var(--forest); border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo img { height: 38px; width: 38px; object-fit: contain; border-radius: 4px; pointer-events: none !important; }
.footer-brand { font-family: var(--serif); font-size: 1.1rem; color: var(--white); }
.footer-brand span { color: var(--lime); }
.footer-sub { font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { max-width: 1080px; margin: 1.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; }
  .service-block.flip .sb-img { order: 0; }
  .service-block.flip .sb-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { margin-top: 0.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 85vh; padding: calc(var(--nav-h) + 1.5rem) 1.2rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions a { width: 100%; justify-content: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .section { padding: 3.5rem 1.2rem; }
  .gallery-masonry { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  h2.display { font-size: 1.8rem; }
  .cta-band { padding: 3rem 1.2rem; }
  .sb-badge { display: none; }
}

@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .stat-num { font-size: 1.6rem; }
}

/* ── SMOOTH SCROLL OFFSET for fixed nav ── */
[id] { scroll-margin-top: calc(var(--nav-h) + 10px); }
