/* =========================================================
   Pineywoods Septic — Main Stylesheet
   Mobile-first, no web fonts, no frameworks
   Palette: deep slate-teal #1a3d4f, warm earth #5c3d1e, sand #f5f0e8, amber #e07b39
   Different layout rhythm from csratreepros — top bar + pill CTAs + two-tone sections
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2a2a2a;
  background: #f5f0e8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a3d4f; text-decoration: underline; }
a:hover { color: #256080; }
ul, ol { padding-left: 1.25rem; }

/* --- Sticky Header (two-row layout, different from site 1) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #1a3d4f;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 56px;
}
.site-header .logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header .logo em {
  font-style: normal;
  color: #e07b39;
}
.site-header .logo span {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.78;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e07b39;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.15s;
}
.header-call:hover { background: #c96527; color: #fff; }
.header-call svg { margin-right: 0.35rem; flex-shrink: 0; }

/* --- Body Offset for Fixed Header --- */
body { padding-top: 56px; }

/* --- Hero (earth-tone gradient, left-aligned on desktop) --- */
.hero {
  background: linear-gradient(160deg, #1a3d4f 0%, #0e2533 100%);
  color: #fff;
  padding: 2.5rem 1rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e07b39 0%, #5c3d1e 100%);
}
.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.65rem;
}
.hero .subhead {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e07b39;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.9rem 2rem;
  min-height: 52px;
  box-shadow: 0 4px 14px rgba(224,123,57,0.4);
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #c96527; color: #fff; transform: translateY(-1px); }
.btn-primary svg { margin-right: 0.5rem; }
.hero-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.68;
}

/* --- Trust Bar (dark earth tone) --- */
.trust-bar {
  background: #5c3d1e;
  color: #f0e8d8;
  padding: 0.7rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: center;
  font-size: 0.8rem;
}
.trust-bar span { display: flex; align-items: center; gap: 0.3rem; }
.trust-bar svg { color: #e07b39; flex-shrink: 0; }

/* --- Section alternation (sand / white) --- */
.section-sand { background: #f5f0e8; }
.section-white { background: #fff; }

/* --- Main Content --- */
.main-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* --- Section Headings --- */
h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  color: #1a3d4f;
  margin: 2rem 0 0.75rem;
  line-height: 1.22;
}
h3 {
  font-size: 1.1rem;
  color: #2a2a2a;
  margin: 1.5rem 0 0.5rem;
}
p { margin-bottom: 0.9rem; }

/* --- Inline CTA (earth-stripe) --- */
.inline-cta {
  background: #fff8f2;
  border-left: 4px solid #e07b39;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.inline-cta p { margin: 0; font-weight: 600; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #1a3d4f;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.55rem 1.15rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-secondary:hover { background: #256080; color: #fff; }
.btn-secondary svg { margin-right: 0.35rem; }

/* --- Service Cards Grid --- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff;
  border: 1px solid #ddd5c5;
  border-top: 3px solid #e07b39;
  border-radius: 6px;
  padding: 1rem;
  text-decoration: none;
  color: #2a2a2a;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.service-card:hover { border-top-color: #1a3d4f; box-shadow: 0 3px 12px rgba(26,61,79,0.12); color: #2a2a2a; }
.service-card strong { color: #1a3d4f; font-size: 1rem; margin-bottom: 0.3rem; display: block; }
.service-card span { font-size: 0.82rem; color: #666; }

/* --- Area List --- */
.area-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1rem 0;
}
@media (max-width: 480px) { .area-list { grid-template-columns: 1fr; } }
.area-list li a {
  display: block;
  background: #fff;
  border: 1px solid #ddd5c5;
  border-radius: 4px;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  color: #1a3d4f;
  transition: background 0.12s;
}
.area-list li a:hover { background: #fff3ea; }

/* --- Alert Banner (teal for TX regulatory alerts) --- */
.alert-banner {
  background: #0e2533;
  color: #c8e6f0;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  line-height: 1.55;
}
.alert-banner strong { color: #7dc6e0; }

/* --- TX Regulatory box (distinct callout for TCEQ content) --- */
.tceq-box {
  background: #eaf4f8;
  border: 1px solid #7dc6e0;
  border-left: 4px solid #1a3d4f;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.tceq-box strong { color: #1a3d4f; }

/* --- FAQ / Accordion --- */
.faq-section { margin: 2rem 0; }
.faq-section h2 { margin-bottom: 1rem; }
details {
  background: #fff;
  border: 1px solid #ddd5c5;
  border-radius: 5px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
details[open] { border-color: #1a3d4f; }
summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; color: #e07b39; flex-shrink: 0; }
details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1rem 0.85rem; font-size: 0.95rem; }

/* --- Pricing Table --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.price-table th {
  background: #1a3d4f;
  color: #fff;
  padding: 0.6rem 0.85rem;
  text-align: left;
}
.price-table td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #e8e0d4;
}
.price-table tr:nth-child(even) td { background: #faf6f0; }
.price-table tr:hover td { background: #fff3ea; }

/* --- Info Box --- */
.info-box {
  background: #eaf4f8;
  border: 1px solid #7dc6e0;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
.info-box strong { color: #1a3d4f; }

.warning-box {
  background: #fff8f0;
  border: 1px solid #f0b080;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

/* --- CTA Bottom Section --- */
.cta-section {
  background: linear-gradient(160deg, #1a3d4f 0%, #0e2533 100%);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 2rem -1rem -3rem;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e07b39 0%, #5c3d1e 100%);
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { opacity: 0.88; margin-bottom: 1.25rem; }

/* --- Footer --- */
.site-footer {
  background: #0e1d25;
  color: #a0b8c4;
  font-size: 0.78rem;
  padding: 1.5rem 1rem;
  text-align: center;
  line-height: 1.75;
}
.site-footer a { color: #7dc6e0; }
.site-footer a:hover { color: #aadde8; }
.footer-disclaimer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #1a3040;
  font-size: 0.74rem;
  color: #6a8898;
}

/* --- Desktop enhancements --- */
@media (min-width: 768px) {
  .site-header .header-top { height: 60px; }
  body { padding-top: 60px; }
  .site-header .logo { font-size: 1.2rem; }
  .header-call { font-size: 1.05rem; padding: 0.55rem 1.3rem; }
  .hero { padding: 4rem 1rem 3.5rem; text-align: left; }
  .hero h1 { max-width: 600px; }
  .hero .subhead { margin-left: 0; margin-right: 0; }
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.78rem;
  color: #888;
  padding: 0.5rem 0 0;
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: #555; }
.breadcrumb span { color: #aaa; margin: 0 0.3rem; }

/* --- Form --- */
.contact-form {
  background: #fff;
  border: 1px solid #ddd5c5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.contact-form h3 { margin-top: 0; color: #1a3d4f; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #ccc5b5;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: #fdfaf5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a3d4f;
  background: #fff;
}
.btn-form {
  width: 100%;
  background: #e07b39;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  min-height: 48px;
  transition: background 0.15s;
}
.btn-form:hover { background: #c96527; }

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e07b39;
  font-weight: 700;
}
