/* Manual J USA - Main Stylesheet */
/* Design: Clean, professional, western US feel */

:root {
  --primary: #1a365d;
  --primary-light: #2a4a7f;
  --accent: #c05621;
  --accent-light: #dd6b20;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0f1b2d;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --success: #38a169;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--bg-dark);
  color: #a0aec0;
  font-size: 13px;
  padding: 6px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #a0aec0; }
.top-bar a:hover { color: #fff; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo a {
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,86,33,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: #f7f8fa;
  color: var(--primary);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50"/></svg>');
  background-size: 30px;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-buttons .btn { padding: 14px 32px; font-size: 16px; }

/* ===== HERO SPLIT (HOME PAGE) ===== */
.hero-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-split h1 { max-width: none; }
.hero-split p { max-width: none; }
.hero-graphic {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(192,86,33,0.15));
}

/* ===== STATE CARD PHOTOS ===== */
.state-card { flex-direction: column; }
.state-card-img {
  width: calc(100% + 48px);
  margin: -24px -24px 20px -24px;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }

.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.card-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ===== STEPS / PROCESS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 48px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(192,86,33,0.15);
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card .tier-name {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
}
.pricing-card .price-unit {
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-card .includes {
  font-size: 14px;
  color: var(--text-light);
  margin: 16px 0 24px;
}

/* ===== VOLUME TABLE ===== */
.volume-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.volume-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.volume-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.volume-table tr:hover { background: var(--bg-alt); }
.volume-table .popular-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 600;
}

/* ===== SERVICE AREAS ===== */
.state-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.state-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.state-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.state-card .climate {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.state-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.cta-banner .btn { margin: 0 8px; }

/* ===== BLOG / MEDIA ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.blog-card-body { padding: 24px; }
.blog-card .date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Blog post page */
.blog-post { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.blog-post h1 { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.blog-post .meta { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.blog-post h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin: 40px 0 16px; }
.blog-post p { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 20px; }
.blog-post ul { margin: 0 0 20px 24px; }
.blog-post li { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 8px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 12px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,86,33,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: #a0aec0;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 12px 0; }
.footer-brand a { color: #a0aec0; }
.footer-brand a:hover { color: #fff; }
footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer li a {
  color: #a0aec0;
  font-size: 14px;
  transition: color 0.2s;
}
footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero h1 { font-size: 36px; }
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .card-grid, .pricing-tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .state-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .nav-toggle { display: block; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 24px; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 28px; }
  .hero-buttons { flex-direction: column; }
  section { padding: 48px 0; }
  .section-title { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .state-card-img { height: 160px; }
}
