/* EMB Builders - landscaping template. Static CSS, no JavaScript. */
:root {
  --green: #2d5a3d;
  --green-dark: #1a2e20;
  --ink: #1c2a20;
  --muted: #5d665f;
  --cream: #f6f5f0;
  --card: #ffffff;
  --mint: #e9f0e8;
  --line: #e2e2d9;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(20, 40, 25, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 245, 240, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; }
.nav .nav-cta { background: var(--green); color: #fff; padding: 8px 16px; border-radius: 999px; }
.nav .nav-cta:hover { text-decoration: none; background: var(--green-dark); }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(10, 25, 14, 0.55) 0%, rgba(10, 25, 14, 0.45) 50%, rgba(10, 25, 14, 0.7) 100%),
    url("hero.jpg") center / cover no-repeat;
  color: #fff;
  min-height: 480px;
  display: flex; align-items: center;
  padding: 64px 0;
}
.hero-inner { width: min(560px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; opacity: 0.9; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 14px 0 16px; font-weight: 800; }
.hero p { font-size: 1.05rem; opacity: 0.95; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
}
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn:hover { opacity: 0.88; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 36px; }
h2 { font-size: 2rem; line-height: 1.2; color: var(--green-dark); }
.section-head p { color: var(--muted); margin-top: 10px; }

/* Services */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }

/* Gallery */
.gallery { background: #fff; }
.tile { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile a { display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mint); }
.tile figcaption { padding: 12px 14px 14px; font-size: 0.88rem; color: var(--muted); }
.tile figcaption strong { display: block; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
/* Keep the interesting part of tall/odd photos in the crop. */
.tile img.top { object-position: center 20%; }
.tile img.low { object-position: center 85%; }
.tile a:hover img { filter: brightness(0.92); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about h2 { margin-bottom: 22px; }
.about p { margin-bottom: 14px; }
.about ul { margin: 18px 0 0 20px; color: var(--muted); }
.glance { background: var(--mint); border: 1px solid #d3e0d1; border-radius: var(--radius); padding: 24px; }
.glance h3 { color: var(--green-dark); margin-bottom: 14px; }
.label { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.value { font-weight: 700; }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { margin-bottom: 14px; }
.contact .lead { color: var(--muted); margin-bottom: 8px; }
.estimate { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.estimate h3 { margin-bottom: 10px; color: var(--green-dark); }
.estimate p { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; }
.ph { font-style: italic; }

/* Footer */
.site-footer { background: var(--green-dark); color: #cfd9d0; padding: 26px 0; font-size: 0.85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav a:not(.nav-cta) { display: none; }
  section { padding: 52px 0; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
}
