/* ===========================
   GREENLAND LAWN CARE
   CSS Variables & Reset
=========================== */
:root {
  --green-dark:   #1a4d2a;
  --green-mid:    #23673a;
  --green-light:  #3a8c52;
  --green-pale:   #e8f5ec;
  --green-accent: #5cb87a;
  --cream:        #faf8f3;
  --white:        #ffffff;
  --text-dark:    #1a1a1a;
  --text-mid:     #444;
  --text-muted:   #777;
  --border:       #e0e0dc;
  --shadow:       0 4px 24px rgba(26,77,42,0.10);
  --shadow-lg:    0 8px 48px rgba(26,77,42,0.15);
  --radius:       12px;
  --radius-lg:    20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --nav-h:        72px;
  --topbar-h:     36px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   UTILITIES
=========================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-mid);
  color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 10px; }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin: 8px 0 16px;
  line-height: 1.15;
}
.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.75); }

.label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 4px 12px;
  border-radius: 100px;
}
.label--light {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ===========================
   TOP BAR
=========================== */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-socials, .topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-socials a, .topbar-contact a {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.topbar-socials a:hover, .topbar-contact a:hover { color: var(--white); }
.topbar-socials a svg { display: block; }

/* ===========================
   NAV
=========================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-leaf { font-size: 1.6rem; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-dark);
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--green-dark);
  background: var(--green-pale);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 200;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all 0.15s;
}
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child  a { border-radius: 0 0 var(--radius) var(--radius); }
.dropdown li a:hover { background: var(--green-pale); color: var(--green-dark); }

.nav-cta { margin-left: auto; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
}
.hero-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, var(--green-pale) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero-content h1 em {
  color: var(--green-mid);
  font-style: italic;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-dark);
}
.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-image { display: flex; align-items: center; justify-content: center; }
.hero-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: var(--green-pale);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-frame:hover img { transform: scale(1.03); }
.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--green-pale);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

/* ===========================
   SERVICES STRIP
=========================== */
.services-strip {
  padding: 96px 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-mid);
}
.service-card--all {
  background: var(--green-pale);
  border-color: var(--green-light);
}

/* ===========================
   HOW IT WORKS
=========================== */
.how-it-works {
  padding: 96px 0;
  background: var(--green-dark);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--green-accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.step p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}
.step-divider {
  font-size: 2rem;
  color: var(--green-accent);
  opacity: 0.4;
  margin-top: 60px;
  flex-shrink: 0;
}

/* ===========================
   GALLERY
=========================== */
.gallery-section { padding: 96px 0; }

.gallery-showcase { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--green-pale);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.gallery-main img.fade { opacity: 0; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumbs .thumb {
  flex: 1;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
  border: 3px solid transparent;
}
.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover { opacity: 1; border-color: var(--green-mid); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-pale);
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  padding: 96px 0;
  background: var(--cream);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }
.review-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}
.reviewer strong {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.92rem;
}
.reviewer span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.review-card--founder {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  flex: 1;
}
.review-card--founder .reviewer strong { color: rgba(255,255,255,0.9); }
.review-card--founder .reviewer span   { color: rgba(255,255,255,0.55); }

/* ===========================
   FAQ
=========================== */
.faq-section { padding: 96px 0; }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-q[aria-expanded="true"] { background: var(--green-pale); }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: var(--green-pale);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 0 24px;
}
.faq-a.open { max-height: 300px; padding: 16px 24px 20px; }

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text small { color: rgba(255,255,255,0.5); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
}
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-socials a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-socials a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
}

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
}

/* Contact form */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 20px;
}
.contact-info p { color: var(--text-mid); margin-bottom: 32px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item { display: flex; align-items: center; gap: 14px; }
.contact-detail-item .icon {
  width: 42px; height: 42px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail-item a { color: var(--green-mid); font-weight: 500; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(35,103,58,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-cols   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    align-items: stretch;
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li > a { border-radius: 8px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--green-pale);
    border-radius: 8px;
    margin-top: 4px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    min-height: auto;
    gap: 40px;
  }
  .hero-image { order: -1; }
  .hero-stats { gap: 24px; }

  .steps {
    flex-direction: column;
    align-items: stretch;
  }
  .step-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / 3; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols  { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: 1; }
  .footer-cols { grid-template-columns: 1fr; }
}
