/* Evergreen Grounds Co. - case-study mini-site
   Inspired by full-service landscaping-company layouts (photo hero,
   category tiles, awards row, alternating service sections, testimonial
   band). Original build: new brand, copy, and a forest-green + terracotta
   palette. */

:root {
  --green-deep: #2b3e24;
  --green: #435c37;
  --green-light: #eef1e8;
  --terracotta: #c1653d;
  --terracotta-dark: #a34f2d;
  --cream: #f8f5ee;
  --ink: #22281f;
  --gray: #5c6355;
  --white: #ffffff;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; color: var(--green-deep); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
p { margin: 0 0 1em; color: var(--gray); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.back-link { background: var(--ink); color: rgba(255,255,255,0.8); font-size: 0.78rem; text-align: center; padding: 8px 0; }
.back-link a { color: var(--white); font-weight: 600; }
.back-link a:hover { text-decoration: underline; }

.top-bar { background: var(--green-deep); color: var(--white); font-size: 0.82rem; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 9px 24px; flex-wrap: wrap; gap: 8px; }

.site-header { background: var(--cream); border-bottom: 1px solid #e5e0d3; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.logo { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; color: var(--green-deep); display: flex; align-items: center; gap: 10px; }
.logo .leaf { width: 26px; height: 26px; background: var(--terracotta); border-radius: 0 60% 60% 60%; display: inline-block; }
nav.main-nav ul { display: flex; gap: 30px; }
nav.main-nav a { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--green-deep); padding-bottom: 3px; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a.active { border-color: var(--terracotta); }

.btn { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; padding: 13px 26px; border-radius: 3px; border: 2px solid transparent; }
.btn-terracotta { background: var(--terracotta); color: var(--white); }
.btn-terracotta:hover { background: var(--terracotta-dark); }
.btn-green { background: var(--green-deep); color: var(--white); }
.btn-green:hover { background: var(--green); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.14); }

/* Hero */
.hero { position: relative; color: var(--white); padding: 120px 0 90px; background: linear-gradient(180deg, rgba(34,40,31,0.35), rgba(34,40,31,0.72)), repeating-linear-gradient(135deg, #3a4d30 0 40px, #435c37 40px 80px); }
.hero .wrap { max-width: 720px; }
.hero .eyebrow { color: var(--terracotta); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.9); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: -70px; position: relative; z-index: 2; }
.tile { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 14px 32px rgba(43,62,36,0.16); }
.tile .tile-photo { aspect-ratio: 4/3; background: var(--green-light); border-bottom: 1px dashed #cdd6c3; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); font-size: 0.8rem; padding: 16px; }
.tile .tile-body { padding: 18px 20px 22px; }
.tile h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tile p { font-size: 0.88rem; margin: 0; }

.section { padding: 90px 0 60px; }
.section-tight { padding: 60px 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-deep); color: var(--white); }
.bg-green h2 { color: var(--white); }
.center { text-align: center; }
.section-intro { max-width: 640px; margin: 0 auto 40px; }

/* Awards row */
.awards-row { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 10px; }
.award-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray); font-weight: 700; }
.award-badge .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--green-light); border: 2px solid var(--terracotta); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* Split service rows */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.svc-row.reverse .svc-photo { order: 2; }
.svc-photo { aspect-ratio: 4/3; border-radius: 6px; border: 2px dashed #cdd6c3; background: var(--green-light); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--gray); font-size: 0.85rem; padding: 20px; }
img.tile-photo, img.svc-photo {
  border: none;
  background: none;
  padding: 0;
  display: block;
  width: 100%;
  object-fit: cover;
}
.check-list li { display: flex; gap: 10px; margin-bottom: 10px; }
.check-list .tick { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--terracotta); color: var(--white); font-size: 0.68rem; display: flex; align-items: center; justify-content: center; margin-top: 3px; }

/* Quote band */
.quote-band { background: linear-gradient(180deg, rgba(43,62,36,0.82), rgba(43,62,36,0.82)), repeating-linear-gradient(135deg, #3a4d30 0 40px, #435c37 40px 80px); color: var(--white); text-align: center; padding: 80px 0; }
.quote-band blockquote { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: italic; max-width: 760px; margin: 0 auto 16px; }
.quote-band cite { font-style: normal; font-size: 0.9rem; opacity: 0.85; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid #e5e0d3; border-radius: 6px; padding: 26px 22px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; margin: 0; }

.cta-band { background: var(--terracotta); color: var(--white); text-align: center; padding: 56px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .btn-green { margin-top: 6px; }

.site-footer { background: var(--green-deep); color: rgba(255,255,255,0.82); padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; font-family: var(--font-head); }
.footer-grid li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 18px; font-size: 0.76rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 13px 14px; border: 1px solid #cdd6c3; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-success { display: none; background: var(--green-light); border: 1px solid #cdd6c3; border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; font-weight: 700; color: var(--green-deep); }
.form-success.show { display: block; }
.info-card { background: var(--green-light); border-radius: 8px; padding: 30px; }
.info-card li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 0.92rem; }

@media (max-width: 900px) {
  .tiles, .services-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row, .contact-layout { grid-template-columns: 1fr; }
  .svc-row.reverse .svc-photo { order: 0; }
}
@media (max-width: 620px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 14px; }
  nav.main-nav { width: 100%; order: 3; }
  nav.main-nav ul { flex-wrap: wrap; gap: 12px 18px; }
  .tiles, .services-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
  .section { padding: 56px 0 40px; }
}
