/* Eagle Crest Dumpster Rentals - Responsive High-Converting Stylesheet */
:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-light: #ffedd5;
  --text: #0f172a;
  --text-light: #475569;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 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.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg {
  max-width: 100%;
  display: block;
}

svg {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header Top */
.header-top {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Navbar */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.brand-logo svg {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px;
  max-height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.1s ease;
  min-height: 48px;
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all 0.15s ease;
  min-height: 48px;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--bg-alt);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
  min-height: 48px;
  text-align: center;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Quick Quote Card */
.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--accent);
}

.hero-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-title .subtitle {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Trust Matrix */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.trust-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.trust-card strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Fleet Showcase */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.fleet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fleet-header {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem;
  text-align: center;
}

.fleet-header.popular {
  background: var(--accent);
}

.fleet-size {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.fleet-sub {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fleet-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fleet-specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.fleet-specs li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.fleet-body .btn-primary {
  margin-top: auto;
  width: 100%;
}

/* Features / Driveway Protection */
.feature-box {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: var(--text);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.reviewer {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviewer-loc {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-top: 0.75rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  width: 20px !important;
  height: 20px !important;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  width: 100%;
  min-height: 52px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

/* Cards & Badges */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }
  .mobile-call-bar {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
