/*
Theme Name: Greenville Septic Service
Theme URI: https://greenvillesepticservice.com
Description: Rank and rent theme for Greenville Septic Service
Version: 1.0
Author: Website Builder Syndicate
*/

/* ── 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, Arial, sans-serif;
  color: #333;
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── COLORS ──────────────────────────────────────── */
:root {
  --navy:   #1e3a5f;
  --orange: #e8820c;
  --light:  #f5f7fa;
  --border: #e0e0e0;
  --text:   #333333;
  --muted:  #666666;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ── TOP BAR ─────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #fff; }
.top-bar .phone {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
}
.top-bar .phone:hover { color: var(--orange); }

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.site-logo span { color: var(--orange); }
.site-logo small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.site-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-nav a:hover { color: var(--orange); border-color: var(--orange); }
.site-nav .nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  border-bottom: none;
}
.site-nav .nav-cta:hover { opacity: .9; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #1a3a5c 100%);
  color: #fff;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero p {
  font-size: 18px;
  opacity: .9;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-phone .label { font-size: 13px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }
.hero-phone .number { font-size: 28px; font-weight: 900; letter-spacing: .5px; }
.hero-phone .number a { color: #fff; }
.hero-phone .number a:hover { color: var(--orange); }

/* ── ESTIMATE BANNER ─────────────────────────────── */
.estimate-banner {
  background: var(--orange);
  color: #fff;
  padding: 28px 0;
}
.estimate-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.estimate-banner h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.estimate-banner p  { font-size: 15px; opacity: .9; }
.btn-white {
  background: #fff;
  color: var(--orange);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── SECTION STYLES ──────────────────────────────── */
section { padding: 72px 0; }
.section-light { background: var(--light); }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── TWO-COL LAYOUT ──────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── SERVICES GRID ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.service-card a {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* ── WHY CHOOSE US ───────────────────────────────── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.reason-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
}
.reason-item h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.reason-item p  { font-size: 14px; color: var(--muted); }

/* ── SERVICE AREA ────────────────────────────────── */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.area-tag {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
}
.area-tag.primary {
  background: var(--orange);
  font-size: 15px;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { margin-top: 36px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-q::before {
  content: 'Q';
  background: var(--orange);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.faq-a {
  font-size: 15px;
  color: var(--muted);
  padding-left: 38px;
  line-height: 1.7;
}

/* ── CONTACT FORM ────────────────────────────────── */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-block { padding: 32px 0; }
.contact-info-block h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail .icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.contact-detail a { font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-detail a:hover { color: var(--orange); }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-phone {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}
.footer-phone a { color: var(--orange); }
.footer-phone a:hover { opacity: .8; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul a:hover { color: var(--orange); }
.footer-hours { font-size: 14px; }
.footer-hours dt { color: rgba(255,255,255,.5); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-top: 8px; }
.footer-hours dd { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ── PAGE HEADER (inner pages) ───────────────────── */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 8px;
}
.page-header p { font-size: 16px; opacity: .8; }
.breadcrumb {
  font-size: 13px;
  opacity: .6;
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }

/* ── UTILITIES ───────────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0  { margin-bottom: 0; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .two-col         { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns       { flex-direction: column; align-items: flex-start; }
  .estimate-banner .container { flex-direction: column; text-align: center; }

  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 16px 24px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
  .site-nav.open { display: block; }
  .site-nav ul    { flex-direction: column; gap: 0; }
  .site-nav a     { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle     { display: flex; }
  .site-header    { position: relative; }
}
