/* Litchfield Land Clearing — Template A shared stylesheet */

:root {
  --bg: #F5F4F0;
  --text: #1A1F2E;
  --accent: #C45C26;
  --accent-dark: #A44A1C;
  --secondary: #4A5568;
  --header-bg: #1A1F2E;
  --border: #E0DED6;
  --white: #FFFFFF;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
}

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

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

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.header-phone {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 1rem;
}
.header-phone:hover { background: var(--accent-dark); text-decoration: none; }

/* Trust bar */
.trust-bar {
  background: #232A3D;
  color: #D8DCE5;
  font-size: 0.85rem;
  padding: 10px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}
.trust-bar li { list-style: none; }
.trust-bar ul { display: contents; margin: 0; padding: 0; }
.trust-bar .check { color: var(--accent); font-weight: 700; margin-right: 4px; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--secondary);
  padding: 14px 0 0;
}
.breadcrumbs a { color: var(--secondary); }
.breadcrumbs span[aria-current] { color: var(--text); }

/* Stat cards */
.stat-strip { padding: 28px 0 8px; }
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat-cards li {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px 14px;
  text-align: center;
}
.stat-cards .stat-num {
  display: block;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-cards .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-top: 4px;
}

/* Two-column layout */
.main-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  padding: 36px 0;
  align-items: start;
}
.content-col h1 { margin-top: 0; }
.subhead {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.content-photo {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 20px 0;
}

.photo-pair {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.photo-pair figure { flex: 1; margin: 0; }
.photo-pair img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 0;
}
.photo-pair figcaption {
  font-size: 0.78rem;
  color: var(--secondary);
  margin-top: 5px;
  text-align: center;
}
@media (max-width: 860px) {
  .photo-pair { flex-direction: column; }
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 4px;
  margin-top: 8px;
}
.cta-btn:hover { background: var(--accent-dark); text-decoration: none; }

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  position: sticky;
  top: 90px;
}
.form-card h2 { font-size: 1.25rem; }
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--bg);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px;
  border-radius: 4px;
  cursor: pointer;
}
.form-submit:hover { background: var(--accent-dark); }
.form-success {
  display: none;
  background: #E9F5EC;
  border: 1px solid #A9D8B5;
  color: #1E5631;
  padding: 16px;
  border-radius: 6px;
  font-weight: 700;
}
.form-success.visible { display: block; }
.form-card.submitted form { display: none; }

/* FAQ */
.faq-section { padding: 20px 0 44px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.faq-question .faq-icon { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding-bottom: 16px; color: var(--secondary); margin: 0; }
.faq-item.open .faq-answer { max-height: 400px; }

/* Local links list */
.local-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.local-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}
.local-links a:hover { border-color: var(--accent); text-decoration: none; }
.local-links span {
  display: block;
  font-weight: 400;
  color: var(--secondary);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Service grid (homepage) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.service-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px;
  color: var(--text);
  font-weight: 700;
}
.service-grid a:hover { text-decoration: none; border-color: var(--accent); }

/* Footer */
.site-footer {
  background: var(--header-bg);
  color: #C9CDD9;
  padding: 40px 0 26px;
  margin-top: 40px;
  font-size: 0.9rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
.footer-towns {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
}
.footer-towns li { margin-bottom: 6px; }
.footer-towns a { color: #C9CDD9; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: #C9CDD9; }
.footer-bottom {
  border-top: 1px solid #333A4D;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.8rem;
  color: #8A90A3;
}

/* Mobile */
@media (max-width: 860px) {
  .main-columns { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .local-links { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1rem; }
  .header-phone { font-size: 0.9rem; padding: 9px 14px; }
}
