/* ==========================================================================
   Triton Dumpsters - Master Stylesheet
   Mobile-First, Core Web Vitals Optimized, High-Converting Local Service Theme
   Theme: Deep Ocean Navy (#0f172a), Triton Blue (#0284c7), Amber Gold (#f59e0b)
   ========================================================================== */

:root {
  --primary: #0f172a;
  --primary-dark: #020617;
  --primary-light: #1e293b;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --secondary: #10b981;
  --dark: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  scroll-behavior: smooth;
  background-color: var(--white);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  padding-bottom: 76px; /* Space for mobile sticky call bar */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header & Navigation */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 0.4rem 0;
  font-size: 0.875rem;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
}

.brand-icon {
  background: var(--primary);
  color: #38bdf8;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--accent);
}

.btn-header-call {
  display: none;
  background: var(--accent);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 800;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-header-call:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-toggle {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 1.35rem;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  color: var(--dark);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .btn-header-call { display: inline-flex; }
  .mobile-toggle { display: none; }
}

/* Mobile Dropdown Menu */
.mobile-nav-panel {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-panel ul {
  list-style: none;
}

.mobile-nav-panel li {
  margin-bottom: 0.85rem;
}

.mobile-nav-panel a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  padding: 0.4rem 0;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(3, 105, 161, 0.95) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: #f1f5f9;
}

.btn-block {
  width: 100%;
}

/* Instant Estimate Calculator Card */
.quote-card {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.quote-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.quote-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--slate);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  min-height: 48px;
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Proof Matrix */
.proof-section {
  padding: 2.5rem 0;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.proof-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.proof-stat {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.proof-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate);
}

/* Dumpster Sizing Cards */
.sizing-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header .tagline {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.dumpster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .dumpster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dumpster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dumpster-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.dumpster-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dumpster-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dumpster-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
}

.dumpster-card-header h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.dumpster-specs {
  font-size: 0.85rem;
  color: #7dd3fc;
  font-weight: 700;
}

.dumpster-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dumpster-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.dumpster-features li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed #f1f5f9;
}

.dumpster-features li::before {
  content: "✔";
  color: var(--accent);
  font-weight: 900;
}

/* Driveway Safe Guarantee Box */
.guarantee-banner {
  background: #f0f9ff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .guarantee-banner {
    flex-direction: row;
  }
}

.guarantee-icon {
  font-size: 3.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.guarantee-text h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  color: #0369a1;
  margin-bottom: 0;
}

/* Reviews / Testimonials */
.reviews-section {
  background: var(--light);
  padding: 4rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
  font-size: 0.9rem;
}

.author-location {
  color: var(--muted);
  font-weight: 500;
}

/* Service Silos / Details */
.content-section {
  padding: 4rem 0;
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* FAQ Accordion */
.faq-section {
  padding: 4rem 0;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-nap {
  font-style: normal;
  font-size: 0.925rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Mobile Sticky Call Bar */
.sticky-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--accent);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

@media (min-width: 768px) {
  .sticky-call-bar {
    display: none;
  }
}

.sticky-call-btn {
  flex-grow: 1;
  background: var(--accent);
  color: var(--white);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.05rem;
}

.sticky-call-btn:hover {
  background: var(--accent-hover);
  color: var(--white);
}
