/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #2b2b26;
  background: #f7f5f0;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== Palette =====
   Deep forest green (dark/neutral base) + warm terracotta (accent),
   derived from the drought-tolerant / water-wise landscaping look
   common across Burbank-area landscaping competitors: muted greens
   for the plant material, warm clay/terracotta tones for hardscape
   (decomposed granite, pavers). Distinct from a water/cleaning trade
   palette (blues/cyans) on purpose.
*/
:root {
  --forest: #2d4a34;
  --forest-dark: #203327;
  --terracotta: #c1652f;
  --terracotta-dark: #a3521f;
  --sand: #f7f5f0;
  --sand-dark: #ece7db;
  --text-dark: #2b2b26;
  --white: #ffffff;
}

h1, h2, h3 { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-weight: 700; line-height: 1.25; color: var(--forest-dark); }
h1 { font-size: 2.4rem; color: var(--white); }
h2 { font-size: 1.9rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
strong { color: var(--forest-dark); }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--forest);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a { font-weight: 600; color: var(--text-dark); }
.main-nav a:hover { color: var(--terracotta); }

.call-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.call-badge-icon { font-size: 1.2rem; }
.call-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.call-badge-label { font-size: 0.65rem; letter-spacing: 0.05em; }
.call-badge-number { font-size: 0.9rem; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
}
.mobile-menu-toggle span { display: block; height: 3px; width: 100%; background: var(--forest-dark); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #3a5b42, #3a5b42 20px, #34523c 20px, #34523c 40px);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.hero-photo-placeholder .placeholder-caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-style: italic;
  max-width: 320px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(32,51,39,0.92) 0%, rgba(32,51,39,0.75) 35%, rgba(32,51,39,0.25) 70%, rgba(32,51,39,0.05) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
.hero-content h1 { margin-bottom: 0.5rem; max-width: 600px; }
.hero-subhead {
  color: var(--white);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 2px solid var(--white);
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 1.9rem;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.hero-phone-btn span[aria-hidden] { font-size: 1.55rem; }
.hero-phone-btn:hover { background: #f3f1ea; }
.cta-button {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.cta-button:hover { background: var(--terracotta-dark); }

/* ===== Intro + Form Section ===== */
.intro-form-section { padding: 3.5rem 1.5rem; }
.intro-form-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}
.intro-column h2 { color: var(--forest-dark); }
.intro-column p { font-size: 1.02rem; }

.inline-photo-float {
  float: right;
  width: 240px;
  margin: 0 0 1rem 1.5rem;
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(45deg, #ddd6c4, #ddd6c4 14px, #d2c9ae 14px, #d2c9ae 28px);
  border: 2px dashed var(--forest);
  display: flex;
  align-items: center;
  padding: 0.75rem;
}
img.inline-photo-float {
  height: auto;
  background: none;
  border: 2px solid var(--terracotta);
  padding: 0;
  object-fit: cover;
  border-radius: 4px;
}
.inline-photo-float .placeholder-caption {
  font-size: 0.7rem;
  font-style: italic;
  color: #5a5648;
}

.form-column { position: sticky; top: 90px; }
.quote-form-card {
  background: var(--white);
  border: 2px solid var(--terracotta);
  border-radius: 10px;
  overflow: hidden;
}
.quote-form-banner {
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  padding: 0.9rem;
  letter-spacing: 0.03em;
}
#quote-form { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
#quote-form label { font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
#quote-form input, #quote-form select, #quote-form textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfc9b8;
  border-radius: 6px;
  font: inherit;
  width: 100%;
}
.form-submit-btn {
  margin-top: 1rem;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem;
  border-radius: 6px;
}
.form-submit-btn:hover { background: var(--forest-dark); }
.form-status { font-size: 0.85rem; margin-top: 0.6rem; }

/* ===== Service Detail Page Sections ===== */
.service-content { padding: 3rem 1.5rem; }
.service-content.bg-sand { background: var(--sand-dark); }
.service-content-inner { max-width: 800px; margin: 0 auto; }
.service-content-inner h2 { color: var(--forest-dark); }
.service-content-inner ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.service-content-inner li { margin-bottom: 0.5rem; }
.service-content-inner p { font-size: 1.02rem; }

.faq-section { padding: 3rem 1.5rem; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-inner h2 { color: var(--forest-dark); margin-bottom: 1.5rem; }
.faq-item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--sand-dark); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: var(--terracotta-dark); }
.faq-item p { margin-bottom: 0; }

.final-cta { background: var(--forest-dark); color: var(--white); text-align: center; padding: 3.5rem 1.5rem; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: #e4e0d2; max-width: 600px; margin: 0 auto 1.5rem; }
.final-cta .cta-button { background: var(--terracotta); }
.final-cta .hero-phone-btn { border-color: var(--white); }

/* ===== Services Section ===== */
.services-section { padding: 3rem 1.5rem; background: var(--sand-dark); }
.services-section h2 { max-width: 1200px; margin: 0 auto 1.5rem; }
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border-top: 4px solid var(--terracotta);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(32, 51, 39, 0.15);
}
.service-card:hover h3,
.service-card:focus-visible h3 { color: var(--terracotta); }
img.service-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  padding: 0;
  background: none;
}
.service-card-image {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #ddd6c4, #ddd6c4 14px, #d2c9ae 14px, #d2c9ae 28px);
  display: flex;
  align-items: flex-end;
  padding: 0.6rem;
}
.service-card-image .placeholder-caption { font-size: 0.65rem; font-style: italic; color: #5a5648; }
.service-card-body { padding: 1.5rem; }
.service-card h3 { color: var(--forest-dark); transition: color 0.15s ease; }
.service-card p { font-size: 0.95rem; color: #46443c; margin-bottom: 1rem; }
.service-card-cta {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--terracotta-dark);
}

/* ===== Trust Section ===== */
.trust-section { padding: 3rem 1.5rem; }
.trust-section h2 { max-width: 1200px; margin: 0 auto 1.5rem; text-align: center; }
.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.trust-item { text-align: left; }
.trust-item h3 { color: var(--terracotta-dark); }
.trust-item p { font-size: 0.92rem; }

/* ===== Footer ===== */
.site-footer { background: var(--forest-dark); color: #e4e0d2; padding: 3rem 1.5rem 1.5rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-col h2 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-col p { font-size: 0.9rem; color: #c9c4b4; }
.footer-phone a { color: var(--terracotta); font-weight: 700; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.9rem; color: #c9c4b4; }
.footer-nav a:hover { color: var(--white); }
.map-placeholder {
  margin-top: 0.75rem;
  height: 120px;
  border: 2px dashed #55604f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.map-placeholder .placeholder-caption { font-size: 0.7rem; font-style: italic; color: #8a8570; text-align: center; }
.copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #3d4a3f;
  font-size: 0.8rem;
  color: #8a8570;
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .header-inner { gap: 0.6rem; padding: 0.75rem 1rem; }
  .logo { font-size: 1.05rem; }
  .call-badge { padding: 0.4rem 0.7rem; gap: 0.4rem; }
  .call-badge-label { display: none; }
  .call-badge-number { font-size: 0.85rem; }
  .call-badge-icon { font-size: 1rem; }

  .intro-form-inner { grid-template-columns: 1fr; }
  .form-column { position: static; order: -1; }
  .intro-column { order: 0; }

  .hero { min-height: 460px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .hero-phone-btn { font-size: 1.3rem; padding: 0.7rem 1.2rem; gap: 0.55rem; }
  .hero-phone-btn span[aria-hidden] { font-size: 1.15rem; }

  .inline-photo-float { float: none; width: 100%; max-width: 320px; margin: 0 auto 1rem; }
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--sand-dark);
  gap: 0.75rem;
}
