/* ==========================================================================
   GRANITE PEAK DUMPSTERS - Core Stylesheet
   Theme: Granite Slate & Alpine Blue (#0f172a, #1d4ed8, #f59e0b)
   ========================================================================== */

:root {
  --primary: #0f172a;
  --primary-dark: #020617;
  --primary-light: #1e293b;
  --secondary: #1d4ed8;
  --secondary-hover: #1e40af;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fbbf24;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --border-color: #e2e8f0;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* space for mobile sticky bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top Notification Bar --- */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Header & Navigation --- */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: tracking-tight;
}

.brand-logo svg {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px;
  max-height: 34px;
  color: var(--secondary);
}

.brand-logo span .highlight {
  color: var(--secondary);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-box {
  display: none;
  text-align: right;
}

@media (min-width: 640px) {
  .header-phone-box {
    display: block;
  }
}

.header-phone-box .caption {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-phone-box .phonenum {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-height: 48px; /* Accessible touch target */
}

.btn-primary {
  background: var(--secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background: #f8fafc;
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 900px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.mobile-menu-drawer.open {
  display: flex;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle at 70% 30%, rgba(29, 78, 216, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--accent-light);
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-item svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--accent-light);
}

/* --- Section Layouts --- */
.section {
  padding: 70px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-subtitle.accent {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- Project Selector (1-800-GOT-JUNK Inspired) --- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.project-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.project-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary);
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
}

.project-meta strong {
  color: var(--secondary);
}

/* --- Container Fleet Showcase (Green Giant Waste Inspired) --- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.fleet-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fleet-card.featured {
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 25px -5px rgba(29, 78, 216, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.fleet-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.fleet-size {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.fleet-size span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

.fleet-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
}

.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.spec-box {
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.fleet-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.fleet-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 10px;
  line-height: 1.4;
}

.fleet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}

/* --- Interactive ZIP Estimator --- */
.calc-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 780px;
  margin: 0 auto;
}

.calc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-input {
  flex: 1 1 200px;
  height: 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.calc-input:focus {
  border-color: var(--secondary);
}

.calc-result {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #166534;
}

.calc-result.active {
  display: block;
}

/* --- Driveway Armor Highlight --- */
.armor-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .armor-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.armor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-card .stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.review-card .review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
}

/* --- Commercial / Contractor Banner --- */
.contractor-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e40af 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}

/* --- FAQ Accordion --- */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.faq-item.is-active .faq-answer {
  display: block;
}

.faq-item.is-active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-toggle-icon {
  transition: transform 0.2s ease;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Site Footer --- */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Mobile Sticky Call Bar --- */
.mobile-sticky-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.mobile-sticky-bar a {
  width: 100%;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* --- Subpage Banner --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 48px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-banner p {
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}
