/* ============================================
   Grand Traverse Septic — Design System
   Northern Michigan, trustworthy, local
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pine: #1a3c34;
  --pine-light: #2a5a4a;
  --lake: #2c7a7b;
  --lake-light: #38b2ac;
  --sand: #d4a762;
  --sand-light: #ecc94b;
  --white: #ffffff;
  --off-white: #f0f5f3;
  --gray-50: #e8f0ed;
  --gray-100: #d1dcd8;
  --gray-200: #a3b8b1;
  --gray-300: #718f86;
  --gray-400: #4d6b62;
  --gray-500: #2d4a42;
  --gray-600: #1a332d;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-400); line-height: 1.7; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-decoration: none; transition: color 0.2s; }
a:hover { color: #285e61; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--gray-600); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; color: var(--lake); margin-bottom: 0.75rem; }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 32px; max-width: 1400px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 700; color: var(--pine); }
.logo img { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; }
.logo-text { line-height: 1.2; }
.logo-text .brand { display: block; color: var(--pine); font-size: 1.1rem; }
.logo-text .tagline { display: block; font-size: 0.65rem; font-weight: 400; color: var(--gray-200); letter-spacing: 0.04em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 2px; }
nav a { color: var(--gray-300); font-weight: 500; font-size: 0.85rem; padding: 8px 10px; border-radius: var(--radius-sm); transition: all 0.15s; white-space: nowrap; }
nav a:hover { background: var(--gray-50); color: var(--pine); text-decoration: none; }
.phone-cta { background: var(--lake) !important; color: var(--white) !important; padding: 10px 18px !important; border-radius: var(--radius-sm); font-weight: 600; margin-left: 4px; font-size: 0.85rem !important; box-shadow: var(--shadow); white-space: nowrap; }
.phone-cta:hover { background: #285e61 !important; color: var(--white) !important; text-decoration: none !important; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--pine); padding: 4px; }

.hero {
  min-height: 75vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
  background: var(--pine);
}
.hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(26,60,52,0.4) 0%, rgba(26,60,52,0.88) 60%, rgba(26,60,52,0.97) 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 60px 24px; text-align: center; width: 100%; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 1rem; max-width: 750px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--sand-light); }
.hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 650px; margin: 0 auto 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(44,122,123,0.2); border: 1px solid rgba(44,122,123,0.3); padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; backdrop-filter: blur(4px); }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 2.5rem; }
.hero-stat strong { display: block; font-size: 1.8rem; color: var(--white); }
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; line-height: 1; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--sand); color: var(--gray-600); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #c49a4e; color: var(--gray-600); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.2); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-large { padding: 16px 32px; font-size: 1rem; }

section { padding: 90px 24px; }
.section-alt { background: var(--off-white); }
section + section { border-top: 1px solid rgba(0,0,0,0.04); }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-200); font-size: 1.05rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--max-width); margin: 0 auto; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-50); transition: all 0.25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lake); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-50); }
.service-card .icon-wrap { width: 44px; height: 44px; background: #e6fffa; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--lake); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--pine); }
.service-card p { color: var(--gray-300); font-size: 0.9rem; margin-bottom: 0; }

.service-card:nth-child(2)::before { background: #7c3aed; }
.service-card:nth-child(2) .icon-wrap { background: #ede9fe; color: #7c3aed; }
.service-card:nth-child(3)::before { background: var(--sand); }
.service-card:nth-child(3) .icon-wrap { background: #fefcbf; color: #b7791f; }
.service-card:nth-child(4)::before { background: #e53e3e; }
.service-card:nth-child(4) .icon-wrap { background: #fed7d7; color: #e53e3e; }
.service-card:nth-child(5)::before { background: #3182ce; }
.service-card:nth-child(5) .icon-wrap { background: #bee3f8; color: #3182ce; }
.service-card:nth-child(6)::before { background: #38a169; }
.service-card:nth-child(6) .icon-wrap { background: #c6f6d5; color: #38a169; }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--max-width); margin: 0 auto; }
.area-card { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-50); transition: all 0.2s; text-align: center; }
.area-card:hover { border-color: var(--lake); box-shadow: var(--shadow-md); }
.area-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--pine); }
.area-card p { font-size: 0.85rem; color: var(--gray-200); margin: 0; line-height: 1.5; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max-width); margin: 0 auto; }
.stat-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 32px 20px; border: 1px solid var(--gray-50); transition: all 0.2s; }
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .stat-number { font-size: 2.8rem; font-weight: 800; color: var(--lake); line-height: 1; margin-bottom: 0.5rem; }
.stat-card p { font-size: 0.9rem; color: var(--gray-300); margin: 0; }

.cta-section { background: var(--pine); color: var(--white); text-align: center; padding: 80px 24px; }
.cta-section h2 { color: var(--white); font-size: 2.5rem; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 550px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-phone { font-size: 2.2rem; font-weight: 700; color: var(--sand-light); display: block; margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-phone:hover { color: var(--white); text-decoration: none; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta { background: var(--sand); color: var(--gray-600); box-shadow: var(--shadow-md); }
.btn-cta:hover { background: #c49a4e; color: var(--gray-600); }
.btn-cta-secondary { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* --- Contact Grid --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--max-width); margin: 0 auto; }
.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info > p { color: var(--gray-200); max-width: 400px; }
.contact-details { margin-top: 2rem; }
.contact-detail { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.contact-detail .icon-box { width: 44px; height: 44px; background: #e6fffa; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--lake); }
.contact-detail strong { display: block; color: var(--gray-500); font-size: 0.9rem; }
.contact-detail span { font-size: 0.85rem; color: var(--gray-200); }
.contact-detail a { color: var(--lake); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 14px 16px; border: 1px solid var(--gray-50); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font); transition: all 0.2s; background: var(--off-white); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--lake); background: var(--white); box-shadow: 0 0 0 3px rgba(44,122,123,0.08); }
.contact-form textarea { min-height: 130px; resize: vertical; }

/* --- FAQ --- */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-50); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-question { padding: 18px 22px; font-weight: 600; font-size: 0.95rem; color: var(--gray-500); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); transition: background 0.15s; gap: 16px; }
.faq-question:hover { background: var(--off-white); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--lake); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 18px; }
.faq-answer p { color: var(--gray-200); font-size: 0.9rem; }

/* --- Page Hero --- */
.page-hero { background: var(--pine); padding: 120px 24px 60px; text-align: center; }
.page-hero h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 550px; margin: 0 auto; }
.content-section { padding: 80px 24px; }
.content-grid { max-width: 800px; margin: 0 auto; }
.content-grid h2 { margin-top: 2.5rem; }
.content-grid p { color: var(--gray-300); }
.highlight-box { background: var(--off-white); border-left: 4px solid var(--lake); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px; margin: 1.5rem 0; }
.highlight-box p { margin: 0; font-size: 0.95rem; }
.highlight-box strong { color: var(--gray-500); }

footer { background: var(--pine); color: rgba(255,255,255,0.6); padding: 56px 24px 24px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
footer p { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
footer a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; max-width: var(--max-width); margin: 0 auto; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.5rem; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { padding: 14px 20px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; }
  section { padding: 60px 24px; }
  .hero { min-height: 70vh; padding-top: 70px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 1.4rem; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-50); padding: 12px 16px; gap: 4px; }
  .mobile-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-phone { font-size: 1.5rem; }
  .page-hero { padding: 100px 24px 40px; }
  .page-hero h1 { font-size: 1.8rem; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
}