/* ===========================
   NJ Oil Tank Removal — Global Styles
   =========================== */

:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2540;
  --color-accent: #e85d04;
  --color-accent-dark: #c44d00;
  --color-success: #2d6a4f;
  --color-text: #1a1a2e;
  --color-text-muted: #555577;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fc;
  --color-border: #e2e8f0;
  --color-warning-bg: #fff8e1;
  --color-warning-border: #f9a825;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 80px; /* space for sticky CTA on mobile */
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

/* ===========================
   Layout
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,93,4,0.3);
}
.btn-secondary {
  background: var(--color-primary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===========================
   Header
   =========================== */
.site-header {
  background: var(--color-primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.logo:hover { text-decoration: none; opacity: 0.9; }
.logo-icon { font-size: 1.4rem; }
.main-nav {
  display: none;
  gap: 24px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: #fff; text-decoration: none; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.header-cta { font-size: 0.9rem; padding: 10px 20px; }

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5298 100%);
  color: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.95);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.trust-item .check { color: #4ade80; font-weight: 700; }

/* ===========================
   Urgency Banner
   =========================== */
.urgency-banner {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.urgency-banner .icon { font-size: 1.4rem; flex-shrink: 0; }
.urgency-banner strong { color: #b45309; }

/* ===========================
   Section Styles
   =========================== */
.section { padding: 60px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 600px; margin: 12px auto 0; }

/* ===========================
   Cards & Grids
   =========================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ===========================
   Process Steps
   =========================== */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: var(--color-text-muted); margin-bottom: 0; }

/* ===========================
   FAQ Accordion
   =========================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--color-bg);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}
.faq-question:hover { background: var(--color-bg-alt); }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a5298 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.cta-phone {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}
.cta-phone:hover { text-decoration: none; opacity: 0.9; }
.cta-subtext { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ===========================
   Cost Table
   =========================== */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.cost-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
.cost-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.cost-table tr:nth-child(even) td { background: var(--color-bg-alt); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-highlight { font-weight: 700; color: var(--color-accent); }

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 8px; }

/* ===========================
   Town Grid
   =========================== */
.town-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 24px;
}
@media (min-width: 640px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .town-grid { grid-template-columns: repeat(4, 1fr); } }
.town-link {
  display: block;
  padding: 10px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-primary);
  transition: all 0.15s;
}
.town-link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ===========================
   County Cards
   =========================== */
.county-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .county-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .county-grid { grid-template-columns: repeat(4, 1fr); } }
.county-card {
  display: block;
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.2s;
  text-decoration: none;
}
.county-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.county-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--color-primary); }
.county-card p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ===========================
   Trust Badges
   =========================== */
.trust-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}
.trust-badge .icon { font-size: 1.3rem; }

/* ===========================
   Sticky CTA (mobile)
   =========================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 16px;
  background: #fff;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col h3, .footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-phone {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}
.footer-phone:hover { text-decoration: none; opacity: 0.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom p { margin-bottom: 4px; }
.disclaimer { font-style: italic; }

/* ===========================
   Utility
   =========================== */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.highlight { color: var(--color-accent); }


/* ===========================
   Page Hero (inner pages)
   =========================== */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.page-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
}

/* ===========================
   Content Sections (inner pages)
   =========================== */
.content-section {
  padding: 64px 0;
}
.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.content-section p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}
.content-section ul,
.content-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.75;
}
.content-section li {
  margin-bottom: 0.5rem;
}
