/*
Theme Name: Manchester Oil Tank Removal Pros
Theme URI: https://oiltankremovalmanchester.com
Author: Manchester Oil Tank Removal Pros
Description: Phone-first MVP theme for buried oil tank removal inquiries in Manchester NH and nearby towns. Call-focused homepage with CallRail DNI support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: manchester-oil-tank-removal
*/

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f7f7f5;
}
a { color: #0b5fff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Layout */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header — phone-first sticky CTA */
.site-header {
  background: #0f2a1f;
  color: #fff;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-branding {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
}
.site-branding:hover { text-decoration: none; color: #fff; }
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8a317;
  color: #0f2a1f;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  min-height: 48px;
}
.header-phone:hover {
  background: #f0b83a;
  text-decoration: none;
  color: #0f2a1f;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #0f2a1f 0%, #1a4a35 100%);
  color: #fff;
  padding: 2.5rem 0 2.75rem;
  text-align: center;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  line-height: 1.2;
}
.hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #e8a317;
  color: #0f2a1f;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  min-height: 56px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.cta-call:hover {
  background: #f0b83a;
  text-decoration: none;
  color: #0f2a1f;
}
.cta-sub {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 2.25rem 0;
}
.section h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: #0f2a1f;
}
.section p { margin: 0 0 1rem; }
.section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.section li { margin-bottom: 0.5rem; }

.bg-white { background: #fff; }
.bg-muted { background: #eef2ef; }

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
.card {
  background: #fff;
  border: 1px solid #d8e0dc;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #0f2a1f;
}
.card p { margin: 0; font-size: 0.98rem; }

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.areas-list li {
  background: #fff;
  border: 1px solid #c5d4cb;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.95rem;
  margin: 0;
}

.disclaimer {
  font-size: 0.88rem;
  color: #444;
  border-left: 3px solid #c5d4cb;
  padding-left: 0.85rem;
  margin: 1.25rem 0 0;
}

/* Mid-page sticky-feel CTA band */
.cta-band {
  background: #0f2a1f;
  color: #fff;
  padding: 1.75rem 0;
  text-align: center;
}
.cta-band p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: #0a1c14;
  color: #c8d4ce;
  padding: 1.75rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: #e8a317; }
.site-footer .phone-footer {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0 1rem;
}
.site-footer .fine-print {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* Mobile tap targets */
@media (max-width: 480px) {
  .site-branding { font-size: 0.82rem; max-width: 45%; }
  .header-phone { font-size: 0.95rem; padding: 0.6rem 0.75rem; }
}
