/* ==========================================================================
   Green City Landscaping Services LLC — Las Vegas, NV
   Mobile-first design system. Local SEO focused: fast, clean, semantic.
   ========================================================================== */

:root {
  --green-950: #0d2b1a;
  --green-900: #12351f;
  --green-700: #1f5c37;
  --green-600: #2f7d4b;
  --green-500: #3d9a5f;
  --green-100: #e2efdf;
  --sand-50: #faf7f0;
  --sand-100: #f4efe4;
  --sand-200: #e9e1cf;
  --sand-400: #d3c4a4;
  --terracotta: #c46a3a;
  --terracotta-dark: #a8542c;
  --ink: #20231e;
  --muted: #5c6257;
  --white: #ffffff;
  --border: #e0d8c6;
  --shadow: 0 8px 24px rgba(18, 53, 31, 0.08);
  --radius: 12px;
  --maxw: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a, button { -webkit-tap-highlight-color: transparent; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; color: var(--green-900); font-weight: 800; }

h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin-bottom: 0.6em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.brand strong { font-size: 1.1rem; color: var(--green-900); font-weight: 800; }
.brand span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: none; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.main-nav a:hover { background: var(--green-100); text-decoration: none; color: var(--green-700); }
.main-nav a[aria-current="page"] { background: var(--green-700); color: var(--white); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terracotta); color: var(--white);
  font-weight: 700; padding: 10px 16px; border-radius: 999px;
  white-space: nowrap; font-size: 0.95rem;
}
.header-cta:hover { background: var(--terracotta-dark); text-decoration: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--green-900); border-radius: 2px; transition: 0.2s; }
.main-nav.open ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; box-shadow: var(--shadow); }

@media (min-width: 900px) {
  .main-nav ul { display: flex; }
  .nav-toggle { display: none; }
  .brand strong { font-size: 1.25rem; }
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-align: center; cursor: pointer;
  border: 2px solid transparent; transition: 0.15s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-900); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-100); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Hero */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero .badge { display: inline-block; background: var(--green-100); color: var(--green-700); font-weight: 700; font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 0.95rem; color: var(--muted); }
.hero-trust strong { color: var(--green-900); }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (min-width: 900px) {
  .hero { padding: 72px 0 60px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* Sections */
.section { padding: 52px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--terracotta); margin-bottom: 10px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(18,53,31,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

/* Service list rows */
.service-list { display: grid; gap: 16px; }
.service-row {
  display: grid; gap: 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; align-items: center;
}
.service-row img { width: 100%; border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 700px) { .service-row { grid-template-columns: 220px 1fr auto; } }
.service-row h3 { margin-bottom: 4px; }
.service-row p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Area chips */
.chip {
  display: inline-block; background: var(--sand-100); border: 1px solid var(--border);
  color: var(--green-900); font-weight: 600; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem;
}
.chip:hover { background: var(--green-100); text-decoration: none; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--green-700); color: var(--white); font-weight: 800; border-radius: 50%; margin-bottom: 12px;
}
@media (min-width: 800px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }

/* Check list */
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green-600); color: var(--white);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}

/* FAQ */
.faq { display: grid; gap: 12px; }
details.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
details.faq-item summary {
  cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--green-900);
  list-style: none; position: relative; padding-right: 44px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--terracotta); font-weight: 700;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .faq-body { padding: 0 18px 18px; color: var(--muted); }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.quote p { font-style: italic; color: var(--ink); }
.quote footer { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.quote footer strong { color: var(--green-900); }
.stars { color: var(--terracotta); letter-spacing: 2px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; }
.gallery figcaption { font-size: 0.85rem; color: var(--muted); padding: 8px 4px 0; text-align: center; }

/* Notice / placeholder marker */
.note {
  background: #fff7ed; border: 1px dashed var(--terracotta); color: var(--terracotta-dark);
  border-radius: var(--radius); padding: 14px 16px; font-size: 0.9rem; margin-bottom: 20px;
}
.note strong { font-weight: 700; }

/* Form */
.contact-grid { display: grid; gap: 28px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--green-900); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand-400); border-radius: 8px;
  font: inherit; background: var(--sand-50); color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--green-500); outline-offset: 1px; border-color: var(--green-500);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { padding-left: 40px; position: relative; }
.info-list .ico {
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px;
  background: var(--green-100); color: var(--green-700); display: grid; place-items: center; font-weight: 800;
}

/* Breadcrumbs */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--green-700); }

/* Page header (sub pages) */
.page-head { background: var(--green-950); color: var(--sand-100); padding: 46px 0; }
.page-head h1 { color: var(--white); margin-bottom: 0.35em; }
.page-head p { color: #cfe3d4; margin: 0; max-width: 720px; }
.page-head .breadcrumb { padding: 0 0 12px; color: #b7cfbf; }
.page-head .breadcrumb a { color: #eaf3ec; }

/* Price band */
.price-band { display: inline-block; background: var(--green-100); color: var(--green-900); font-weight: 700; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; }

/* CTA band */
.cta-band { background: var(--green-900); color: var(--sand-100); text-align: center; padding: 56px 20px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfe3d4; max-width: 640px; margin: 0 auto 24px; }
.cta-band .btn { margin: 0 6px 10px; }

/* Footer */
.site-footer { background: var(--green-950); color: #c6d7c9; margin-top: 0; padding: 52px 0 0; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #c6d7c9; font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.footer-nap p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.85rem; color: #9db6a3; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Narrow phones (< 380px): keep the header from overflowing */
@media (max-width: 380px) {
  .header-inner { gap: 10px; padding: 8px 14px; }
  .brand span { display: none; }
  .brand strong { font-size: 1rem; }
  .header-cta { padding: 8px 12px; font-size: 0.85rem; }
  .nav-toggle { padding: 6px; }
}

/* Very narrow phones (< 340px): keep the phone CTA from colliding with the logo */
@media (max-width: 340px) {
  .header-inner { gap: 8px; padding: 8px 10px; }
  .brand strong { font-size: 0.92rem; }
  .header-cta { padding: 7px 10px; font-size: 0.8rem; }
}