/* =============================================
   E&E LAWN CARE — SHARED STYLES
   Friendly & approachable: warm greens, sunshine yellow, clean whites
   ============================================= */

:root {
  --green:        #3a7d44;
  --green-dark:   #2a5e32;
  --green-light:  #5aad63;
  --green-pale:   #edf7ee;
  --yellow:       #f5c842;
  --yellow-light: #fef9e7;
  --orange:       #f28c28;
  --white:        #ffffff;
  --off-white:    #fafaf8;
  --gray-100:     #f3f4f6;
  --gray-300:     #d1d5db;
  --gray-500:     #6b7280;
  --gray-700:     #374151;
  --gray-900:     #111827;
  --font-head:    'Georgia', 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.16);
  --max-w:        1160px;
  --transition:   0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-700); line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── CONTAINER ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.4rem 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.top-bar a { color: var(--yellow); font-weight: 600; }
.top-bar-right { display: flex; gap: 1.5rem; }

/* ── NAV ── */
nav {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky; top: 0; z-index: 200;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: var(--max-w); margin: 0 auto; padding: 0 5%;
}
.nav-logo { display: flex; align-items: center; padding: 0.25rem 0; }
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: bold; color: var(--green-dark); line-height: 1.1; }
.nav-logo-text span { color: var(--green); }
.nav-logo-sub { font-size: 0.7rem; color: var(--gray-500); font-family: var(--font-body); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block; padding: 0.5rem 0.85rem;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-700);
  border-radius: 6px; transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--green); background: var(--green-pale); }

/* Dropdown */
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); min-width: 200px;
  border: 1px solid var(--gray-100); z-index: 300;
  padding: 0.5rem 0;
}
.dropdown a {
  display: block; padding: 0.55rem 1.1rem;
  font-size: 0.88rem; color: var(--gray-700);
  transition: color var(--transition), background var(--transition);
}
.dropdown a:hover { color: var(--green); background: var(--green-pale); }

.nav-cta {
  background: var(--yellow); color: var(--green-dark) !important;
  padding: 0.6rem 1.3rem !important; border-radius: var(--radius) !important;
  font-weight: 700 !important; font-size: 0.88rem !important;
  box-shadow: 0 2px 8px rgba(245,200,66,0.4);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(245,200,66,0.5) !important; background: var(--yellow) !important; }

.hamburger { display: none; background: none; border: none; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--green-dark); border-radius: 2px; transition: var(--transition); }
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 500; overflow-y: auto;
  padding: 1.5rem 5% 3rem;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-close { background: none; border: none; font-size: 1.8rem; color: var(--gray-700); }
.mobile-nav a { display: block; padding: 0.9rem 0; font-size: 1.05rem; font-weight: 600; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.mobile-nav a:hover { color: var(--green); }
.mobile-nav-section { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); padding: 1.2rem 0 0.4rem; }
.mobile-cta { margin-top: 1.5rem; background: var(--yellow); color: var(--green-dark); padding: 1rem; border-radius: var(--radius); text-align: center; font-weight: 700; font-size: 1rem; display: block; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 4rem 5% 3.5rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zm40 40h40v40H40z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; }
.page-hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); color: var(--yellow);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 20px; margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.page-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 0.75rem; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 560px; margin: 0 auto 1.5rem; }
.page-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 0.8rem 1.8rem; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; transition: transform var(--transition), box-shadow var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--green-dark); box-shadow: 0 2px 10px rgba(245,200,66,0.35); }
.btn-yellow:hover { box-shadow: 0 6px 20px rgba(245,200,66,0.5); }
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }

/* ── SECTION BASICS ── */
section { padding: 5rem 5%; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--green-dark); line-height: 1.25; margin-bottom: 1rem; }
.section-intro { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; }
.section-intro.center { margin: 0 auto; text-align: center; }
.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--yellow-light); border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); padding: 1.2rem 5%; }
.trust-bar-inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--green-dark); white-space: nowrap; }
.trust-icon { font-size: 1.15rem; }

/* ── CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 1.5rem; }
.card-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.4rem; }
.card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.88rem; font-weight: 700; color: var(--green); margin-top: 1rem; }
.card-link:hover { color: var(--green-dark); }

/* ── STEPS ── */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 1.4rem; font-weight: 700; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; box-shadow: 0 4px 12px rgba(58,125,68,0.35); }
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--gray-500); }

/* ── REVIEWS ── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); border-left: 4px solid var(--yellow); }
.review-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.review-author { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); }
.review-location { font-size: 0.8rem; color: var(--gray-500); }

/* ── CTA BANNER ── */
.cta-banner { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); padding: 4rem 5%; text-align: center; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── GUARANTEE BOX ── */
.guarantee-box { background: var(--yellow-light); border: 2px solid var(--yellow); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; max-width: 640px; margin: 0 auto; }
.guarantee-box .badge { font-size: 3rem; margin-bottom: 0.75rem; }
.guarantee-box h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-dark); margin-bottom: 0.6rem; }
.guarantee-box p { color: var(--gray-500); font-size: 0.95rem; }

/* ── FAQ ── */
.faq-list { max-width: 780px; }
details { border-bottom: 1px solid var(--gray-100); }
summary { padding: 1.2rem 0; font-weight: 700; color: var(--green-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
.faq-arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--green); flex-shrink: 0; transition: transform var(--transition); }
details[open] .faq-arrow { transform: rotate(45deg); }
details p { padding: 0 0 1.2rem; color: var(--gray-500); font-size: 0.95rem; line-height: 1.65; }
details p a { color: var(--green); font-weight: 600; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-family: var(--font-head); font-size: 1.9rem; color: var(--green-dark); margin-bottom: 1rem; }
.contact-info p { color: var(--gray-500); margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-text { font-size: 0.9rem; color: var(--gray-500); }
.contact-detail-text strong { display: block; color: var(--green-dark); font-weight: 700; font-size: 1rem; }
.contact-detail-text a { color: var(--green); font-weight: 600; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.form-card h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--green-dark); margin-bottom: 0.4rem; }
.form-card p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.3rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius); font-family: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--gray-300); color: var(--gray-700); background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,125,68,0.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 1rem; background: var(--green); color: var(--white); font-size: 1rem; font-weight: 700; border: none; border-radius: var(--radius); transition: background var(--transition), transform var(--transition); }
.form-submit:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── AREAS ── */
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.area-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--green); transition: transform var(--transition); }
.area-card:hover { transform: translateY(-3px); }
.area-card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.area-card h3 { font-weight: 700; color: var(--green-dark); font-size: 1.05rem; margin-bottom: 0.4rem; }
.area-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ── FOOTER ── */
footer { background: var(--gray-900); color: rgba(255,255,255,0.65); }
.footer-top { padding: 4rem 5% 2.5rem; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin: 0.75rem 0 1.25rem; }
.footer-logo { font-family: var(--font-head); font-size: 1.3rem; font-weight: bold; color: var(--white); }
.footer-logo span { color: var(--yellow); }
.footer-hours { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background var(--transition); }
.footer-social a:hover { background: var(--green); }
.footer-col h4 { color: var(--white); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.87rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.7rem; font-size: 0.87rem; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 5%; max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); border: none; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity var(--transition), background var(--transition); z-index: 100; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--green-dark); }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--gray-100); padding: 0.6rem 5%; font-size: 0.83rem; color: var(--gray-500); }
.breadcrumb a { color: var(--green); font-weight: 600; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── UTILITIES ── */
.bg-pale { background: var(--off-white); }
.bg-green-pale { background: var(--green-pale); }
.bg-yellow-light { background: var(--yellow-light); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-bar-right { display: none; }
  .area-cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
