/* ==========================================================================
   Landscaping Maintenance Experts — stylesheet
   Palette is a placeholder (deep forest green + warm stone/earth tones,
   typical of landscaping brands). Swap the custom properties below for
   the client's real brand colors if they have them.
   ========================================================================== */

:root {
  --green-900: #1b3a2b;
  --green-700: #2f5d3f;
  --green-600: #3a7350;
  --green-500: #4c8f63;
  --stone-100: #f7f5f0;
  --stone-200: #ede8de;
  --earth-700: #6b5b45;
  --ink-900: #1c1f1d;
  --ink-600: #4b524d;
  --white: #ffffff;
  --amber-500: #d99a3d;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(27, 58, 43, 0.08);
  --shadow-md: 0 12px 30px rgba(27, 58, 43, 0.14);
  --container-w: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--green-900); }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .8rem;
  color: var(--amber-500);
  margin: 0 0 .6em;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2.center { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-900);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text span { font-size: .68rem; font-weight: 500; color: var(--earth-700); letter-spacing: .04em; }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav > ul > li > a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-900);
  padding: 8px 0;
}
.main-nav > ul > li > a:hover { color: var(--green-700); }
.has-dropdown { position: relative; }
.main-nav .dropdown {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 8px 12px; border-radius: 6px; font-weight: 500; font-size: .9rem; }
.dropdown li a:hover { background: var(--stone-100); color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; align-items: center; gap: 6px; font-weight: 600; color: var(--green-700); }
.header-phone svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink-900); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.hero .eyebrow { color: var(--amber-500); }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .4em; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--stone-100); padding: 22px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--green-900); text-align: center; }
.trust-item svg { color: var(--green-600); }

/* ---------- About ---------- */
.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-copy h2 { font-size: 2rem; }
.about-values { display: grid; gap: 24px; }
.value-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--stone-100);
  border-radius: var(--radius-lg);
}
.value-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.value-card p { margin: 0; font-size: .92rem; color: var(--ink-600); }

/* ---------- Services ---------- */
.services { padding: 96px 0; background: var(--stone-100); }
.services h2 { font-size: 2rem; margin-bottom: 48px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img { height: 200px; object-fit: cover; background: var(--stone-200); }
.service-card-body { padding: 26px; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: .92rem; color: var(--ink-600); }
.link-arrow { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--green-700); }
.link-arrow:hover { color: var(--green-900); }

.other-specialties {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-weight: 600;
  color: var(--green-900);
}
.other-specialties ul { display: flex; flex-wrap: wrap; gap: 10px; }
.other-specialties li {
  background: var(--white);
  border: 1px solid var(--stone-200);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery { padding: 96px 0; }
.gallery h2 { font-size: 2rem; margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--stone-200);
  transition: transform .3s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 96px 0; background: var(--green-900); color: var(--white); }
.testimonials h2 { color: var(--white); font-size: 2rem; margin-bottom: 48px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  margin: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.testimonial-card p { font-size: .92rem; color: rgba(255,255,255,.88); font-style: italic; }
.testimonial-card cite { font-weight: 700; font-style: normal; color: var(--amber-500); font-size: .88rem; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h2 { font-size: 1.8rem; }
.contact-details { display: grid; gap: 16px; margin: 28px 0; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-details svg { color: var(--green-600); }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.social-links a {
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stone-200);
  color: var(--green-700);
}
.social-links a:hover { background: var(--stone-100); }

.contact-form { background: var(--stone-100); padding: 32px; border-radius: var(--radius-lg); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--green-900); }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-200);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--white);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(76, 143, 99, .15);
}
.form-status { margin: 12px 0 0; font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.form-status.success { color: var(--green-700); }
.form-status.error { color: #b3402a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,.6); }
.footer-brand p { margin-top: 10px; font-size: .88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; }
.footer-social a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (min-width: 960px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 959px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { display: block; padding: 14px 4px; width: 100%; }
  .main-nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 12px; }
  .main-nav .has-dropdown.open .dropdown { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid,
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 88px; }
  .trust-grid { grid-template-columns: 1fr; }
  .service-grid,
  .testimonial-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
