/**
 * APEX WASTE MANAGEMENT - WORDPRESS THEME CSS
 * Built from apex-design-specifications.css
 */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

/* COLOR PALETTE */
:root {
  --primary-hsl: 215, 35%, 20%;
  --primary-foreground-hsl: 0, 0%, 100%;
  --accent-hsl: 24, 95%, 53%;
  --accent-foreground-hsl: 0, 0%, 100%;
  --background-hsl: 210, 20%, 98%;
  --foreground-hsl: 215, 25%, 15%;
  --secondary-hsl: 210, 15%, 92%;
  --secondary-foreground-hsl: 215, 25%, 15%;
  --muted-hsl: 210, 15%, 95%;
  --muted-foreground-hsl: 215, 15%, 45%;
  --card-hsl: 0, 0%, 100%;
  --card-foreground-hsl: 215, 25%, 15%;
  --border-hsl: 214, 20%, 88%;
  --hero-overlay-hsl: 215, 35%, 12%;
  --section-alt-hsl: 210, 20%, 96%;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: hsl(var(--background-hsl));
  color: hsl(var(--foreground-hsl));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-weight: 600;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* CONTAINER - from specs: max-width 1400px, px-4 = 16px */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* HEADER - from specs: h-24 = 96px */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(215, 35%, 20%, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO - from specs: h-64 = 256px, -my-20 = -80px */
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 256px;
  width: auto;
  margin-top: -80px;
  margin-bottom: -80px;
}
.logo-text {
  font-size: 14px;
  color: hsl(0, 0%, 100%, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-left: -64px;
}

/* NAVIGATION - gap-8 = 32px */
.main-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a { font-size: 16px; font-weight: 500; color: hsl(0, 0%, 100%, 0.9); transition: color 0.15s; }
.main-nav a:hover { color: hsl(0, 0%, 100%); }

/* HEADER ACTIONS */
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: none; align-items: center; gap: 8px; color: hsl(0, 0%, 100%); cursor: pointer; }
@media (min-width: 768px) { .header-phone { display: flex; } }
.header-phone svg { width: 20px; height: 20px; color: hsl(24, 95%, 53%); }
.header-phone span { font-size: 17px; font-weight: 600; }
.header-phone:hover { color: hsl(24, 95%, 53%); }
.btn-header {
  display: none;
  font-size: 16px;
  padding: 10px 28px;
  background: linear-gradient(135deg, hsl(24, 95%, 53%) 0%, hsl(35, 95%, 55%) 100%);
  color: hsl(0, 0%, 100%);
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 15px hsl(24, 95%, 53%, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsl(24, 95%, 53%, 0.4);
}
@media (min-width: 640px) { .btn-header { display: inline-flex; } }
.mobile-toggle { display: block; padding: 8px; background: none; border: none; color: hsl(0, 0%, 100%); cursor: pointer; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-toggle svg { width: 24px; height: 24px; }

/* HERO SECTION */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(215, 35%, 12%, 0.85) 0%, hsl(215, 35%, 12%, 0.7) 50%, hsl(215, 35%, 12%, 0.6) 100%);
}

/* Hero content - from specs: container mx-auto px-4, pt-32, pb-20 */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 128px;
  padding-bottom: 80px;
}

/* Text container - max-w-3xl = 768px, NO margin auto = LEFT aligned */
.hero-inner {
  max-width: 768px;
}

/* HERO BADGE - py-2 px-4, mb-6 = 24px */
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: hsl(24, 95%, 53%, 0.2);
  color: hsl(24, 95%, 53%);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

/* HERO TITLE - text-4xl to text-7xl */
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: hsl(0, 0%, 100%);
  line-height: 1.1;
  margin-bottom: 24px;
  font-size: 36px;
}
@media (min-width: 640px) { .hero h1 { font-size: 48px; } }
@media (min-width: 768px) { .hero h1 { font-size: 60px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 72px; } }

/* GRADIENT TEXT */
.text-gradient-accent {
  display: block;
  background: linear-gradient(135deg, hsl(24, 95%, 53%) 0%, hsl(35, 95%, 55%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* HERO DESCRIPTION - text-lg to text-xl */
.hero-desc { font-size: 18px; color: hsl(0, 0%, 100%, 0.8); margin-bottom: 32px; max-width: 576px; }
@media (min-width: 640px) { .hero-desc { font-size: 20px; } }

/* HERO BENEFITS - gap-4 = 16px, mb-10 = 40px */
.hero-benefits { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-benefit { display: flex; align-items: center; gap: 8px; }
.hero-benefit svg { width: 20px; height: 20px; color: hsl(24, 95%, 53%); }
.hero-benefit span { color: hsl(0, 0%, 100%, 0.9); font-size: 14px; font-weight: 500; }

/* HERO BUTTONS - gap-4 = 16px */
.hero-buttons { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

/* HERO FADE - h-32 = 128px */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: linear-gradient(to top, hsl(var(--background-hsl)), transparent);
}

/* BUTTONS */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, hsl(24, 95%, 53%) 0%, hsl(35, 95%, 55%) 100%);
  color: hsl(0, 0%, 100%);
  font-weight: 600;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px hsl(24, 95%, 53%, 0.3);
  transition: all 0.3s;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px hsl(24, 95%, 53%, 0.4); }
.btn-accent svg { width: 20px; height: 20px; transition: transform 0.2s; }
.btn-accent:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(215, 35%, 20%);
  border: 1px solid hsl(0, 0%, 100%, 0.3);
  color: hsl(0, 0%, 100%);
  font-size: 18px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-outline:hover { background-color: hsl(215, 35%, 20%, 0.8); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 16px;
  background-color: hsl(var(--secondary-hsl));
  color: hsl(var(--secondary-foreground-hsl));
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
}

/* SECTIONS - py-16 to py-24 */
.section { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .section { padding-top: 96px; padding-bottom: 96px; } }
.section-alt { background-color: hsl(var(--section-alt-hsl)); }
.section-dark { background-color: hsl(var(--primary-hsl)); }
.section-header { text-align: center; max-width: 672px; margin: 0 auto 48px; }
.section-label { display: inline-block; color: hsl(var(--accent-hsl)); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; color: hsl(var(--foreground-hsl)); margin-bottom: 16px; }
@media (min-width: 640px) { .section-title { font-size: 36px; } }
@media (min-width: 1024px) { .section-title { font-size: 48px; } }
.section-title.light { color: hsl(0, 0%, 100%); }
.section-desc { font-size: 18px; color: hsl(var(--muted-foreground-hsl)); }
.section-desc.light { color: hsl(0, 0%, 100%, 0.8); }

/* DUMPSTER SIZES IMAGE */
.dumpster-img { margin-bottom: 64px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.dumpster-img img { width: 100%; height: 256px; object-fit: cover; }
@media (min-width: 640px) { .dumpster-img img { height: 320px; } }
@media (min-width: 1024px) { .dumpster-img img { height: 384px; } }

/* CARDS GRID */
.cards-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
.cards-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* SERVICE CARD - p-6 = 24px */
.card {
  background-color: hsl(var(--card-hsl));
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 20px -4px hsl(215, 35%, 20%, 0.1);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px -4px hsl(215, 35%, 20%, 0.15); }
.card.featured { box-shadow: 0 0 0 2px hsl(var(--accent-hsl)), 0 4px 20px -4px hsl(215, 35%, 20%, 0.1); }
.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: hsl(var(--accent-hsl));
  color: hsl(0, 0%, 100%);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: hsl(24, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; color: hsl(var(--accent-hsl)); }
.card-icon.dark { background-color: hsl(var(--primary-hsl)); }
.card-icon.dark svg { color: hsl(0, 0%, 100%); }
.card-size { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.card-size .num { font-family: 'Oswald', sans-serif; font-size: 48px; font-weight: 700; color: hsl(var(--foreground-hsl)); line-height: 1; }
.card-size .unit { color: hsl(var(--muted-foreground-hsl)); font-size: 14px; font-weight: 600; }
.card-title { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: hsl(var(--foreground-hsl)); margin-bottom: 8px; }
.card-desc { font-size: 14px; color: hsl(var(--muted-foreground-hsl)); margin-bottom: 16px; flex-grow: 1; }
.card-divider { border-top: 1px solid hsl(var(--border-hsl)); padding-top: 16px; margin-bottom: 24px; }
.card-label { font-size: 12px; font-weight: 600; color: hsl(var(--foreground-hsl)); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.card-list { list-style: none; }
.card-list li { font-size: 14px; color: hsl(var(--muted-foreground-hsl)); padding: 2px 0; }
.card-list li::before { content: '• '; }

.card-service {
  background-color: hsl(var(--card-hsl));
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px -4px hsl(215, 35%, 20%, 0.1);
}
.card-service:hover { transform: translateY(-4px); box-shadow: 0 8px 30px -4px hsl(215, 35%, 20%, 0.15); }

/* HOW IT WORKS - STEPS */
.steps-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; }
.step-line { display: none; position: absolute; top: 40px; left: 60%; width: 80%; height: 2px; background-color: hsl(var(--border-hsl)); }
@media (min-width: 1024px) { .step-line { display: block; } }
.step:last-child .step-line { display: none; }
.step-num { position: absolute; top: -8px; left: -8px; width: 32px; height: 32px; border-radius: 9999px; background-color: hsl(var(--accent-hsl)); color: hsl(0, 0%, 100%); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; z-index: 10; }
.step-icon { width: 80px; height: 80px; border-radius: 16px; background-color: hsl(0, 0%, 100%); box-shadow: 0 4px 15px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.step-icon svg { width: 40px; height: 40px; color: hsl(var(--primary-hsl)); }
.step-title { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: hsl(var(--foreground-hsl)); margin-bottom: 12px; }
.step-desc { font-size: 14px; color: hsl(var(--muted-foreground-hsl)); line-height: 1.6; }

/* ABOUT SECTION */
.about-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.about-label { color: hsl(var(--accent-hsl)); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.about-title { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; color: hsl(var(--foreground-hsl)); line-height: 1.1; margin-bottom: 24px; }
@media (min-width: 640px) { .about-title { font-size: 36px; } }
@media (min-width: 1024px) { .about-title { font-size: 48px; } }
.about-text { color: hsl(var(--muted-foreground-hsl)); font-size: 18px; margin-bottom: 16px; }
.about-text:last-of-type { margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; border-top: 1px solid hsl(var(--border-hsl)); }
.stat-val { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; color: hsl(var(--accent-hsl)); line-height: 1; }
@media (min-width: 1024px) { .stat-val { font-size: 36px; } }
.stat-label { font-size: 14px; color: hsl(var(--muted-foreground-hsl)); }
.features-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

/* CTA SECTION */
.cta { position: relative; overflow: hidden; }
.cta-pattern { position: absolute; inset: 0; opacity: 0.1; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-inner { position: relative; z-index: 10; text-align: center; max-width: 768px; margin: 0 auto; }
.cta-title { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; color: hsl(0, 0%, 100%); margin-bottom: 24px; }
@media (min-width: 640px) { .cta-title { font-size: 36px; } }
@media (min-width: 1024px) { .cta-title { font-size: 48px; } }
.cta-desc { font-size: 18px; color: hsl(0, 0%, 100%, 0.8); margin-bottom: 40px; }
.cta-buttons { display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: center; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }
.cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 32px; background-color: hsl(0, 0%, 100%, 0.1); border: 1px solid hsl(0, 0%, 100%, 0.3); border-radius: 6px; color: hsl(0, 0%, 100%); font-size: 18px; font-weight: 600; transition: background 0.2s; }
.cta-phone:hover { background-color: hsl(0, 0%, 100%, 0.2); }
.cta-phone svg { width: 20px; height: 20px; color: hsl(var(--accent-hsl)); }

/* FOOTER */
.site-footer { background-color: hsl(var(--primary-hsl)); padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid hsl(0, 0%, 100%, 0.1); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { color: hsl(0, 0%, 100%, 0.7); font-size: 14px; margin-bottom: 24px; }
.social-links { display: flex; gap: 16px; }
.social-link { width: 40px; height: 40px; border-radius: 9999px; background-color: hsl(0, 0%, 100%, 0.1); display: flex; align-items: center; justify-content: center; color: hsl(0, 0%, 100%); transition: all 0.15s; }
.social-link:hover { background-color: hsl(var(--accent-hsl)); }
.social-link svg { width: 20px; height: 20px; }
.footer-title { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: hsl(0, 0%, 100%); margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-links span { color: hsl(0, 0%, 100%, 0.7); font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: hsl(var(--accent-hsl)); }
.footer-contact a, .footer-contact div { display: flex; align-items: flex-start; gap: 12px; color: hsl(0, 0%, 100%, 0.7); font-size: 14px; margin-bottom: 16px; transition: color 0.15s; }
.footer-contact a:hover { color: hsl(var(--accent-hsl)); }
.footer-contact svg { width: 20px; height: 20px; color: hsl(var(--accent-hsl)); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy { color: hsl(0, 0%, 100%, 0.5); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: hsl(0, 0%, 100%, 0.5); font-size: 14px; transition: color 0.15s; }
.footer-legal a:hover { color: hsl(0, 0%, 100%); }

/* SERVICE AREA HERO
   Matches React: relative pt-24 pb-20 sm:pt-32 sm:pb-28 min-h-[400px] sm:min-h-[450px] */
.sa-hero {
  position: relative;
  min-height: 400px;
  padding-top: 96px;    /* pt-24 */
  padding-bottom: 80px; /* pb-20 */
  overflow: hidden;
}
@media (min-width: 640px) {
  .sa-hero {
    min-height: 450px;
    padding-top: 128px;  /* sm:pt-32 */
    padding-bottom: 112px; /* sm:pb-28 */
  }
}

/* Background: absolute inset-0, cover, center 30% (bg-[center_30%]) */
.sa-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}
.sa-hero .hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, hsl(215, 35%, 12%, 0.85) 0%, hsl(215, 35%, 12%, 0.7) 50%, hsl(215, 35%, 12%, 0.6) 100%);
}

/* Content wrapper: relative z-10 container mx-auto px-4 */
.sa-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* BREADCRUMBS - nav mb-8 animate-fade-in */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 32px; font-size: 14px; list-style: none; padding: 0; }
.breadcrumbs a { color: hsl(0, 0%, 100%, 0.7); text-decoration: none; transition: color 0.15s; }
.breadcrumbs a:hover { color: hsl(var(--accent-hsl)); }
.breadcrumbs svg { width: 16px; height: 16px; color: hsl(0, 0%, 100%, 0.5); margin: 0 4px; vertical-align: middle; }
.breadcrumbs .current { color: hsl(var(--accent-hsl)); font-weight: 500; }
.breadcrumbs li { display: flex; align-items: center; }

/* SA TITLE AREA - max-w-3xl = 768px, LEFT aligned */
.sa-title-area { max-width: 768px; }

/* County badge: px-4 py-2 bg-accent/20 text-accent rounded-full text-sm font-semibold mb-6 */
.county-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: hsl(24, 95%, 53%, 0.2);
  color: hsl(24, 95%, 53%);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

/* H1: text-3xl sm:text-4xl md:text-5xl lg:text-6xl, font-bold, leading-[1.1], mb-4 */
.sa-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: hsl(0, 0%, 100%);
  line-height: 1.1;
  margin-bottom: 16px;
  font-size: 30px; /* text-3xl */
}
@media (min-width: 640px) { .sa-hero h1 { font-size: 36px; } } /* text-4xl */
@media (min-width: 768px) { .sa-hero h1 { font-size: 48px; } } /* text-5xl */
@media (min-width: 1024px) { .sa-hero h1 { font-size: 60px; } } /* text-6xl */

/* text-gradient-accent: block display so "Dumpster Rental" sits on its own line */
.sa-hero h1 .text-gradient-accent { display: block; }

/* Description: text-lg sm:text-xl, text-primary-foreground/80, max-w-xl */
.sa-hero-desc { font-size: 18px; color: hsl(0, 0%, 100%, 0.8); max-width: 576px; margin-bottom: 24px; }
@media (min-width: 640px) { .sa-hero-desc { font-size: 20px; } }

/* Bottom fade: absolute bottom-0 left-0 right-0 h-24 (96px) */
.sa-hero .hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    hsl(var(--background-hsl)) 0%,
    hsl(var(--background-hsl) / 0.82) 32%,
    hsl(var(--background-hsl) / 0) 100%
  );
}

/* Safety net — ensure sa-hero text always visible */
.sa-hero h1,
.sa-hero .county-badge,
.sa-hero .sa-hero-desc,
.sa-hero .breadcrumbs {
  visibility: visible;
}

/* SERVICE AREA CONTENT */
.sa-content-section { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .sa-content-section { padding-top: 96px; padding-bottom: 96px; } }
.content-wrapper { max-width: 896px; margin-left: auto; margin-right: auto; }
.content-wrapper > * + * { margin-top: 64px; }

/* CONTENT SECTIONS */
.content-section h2 { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; color: hsl(var(--foreground-hsl)); margin-bottom: 16px; }
@media (min-width: 640px) { .content-section h2 { font-size: 30px; } }
.content-section p { color: hsl(var(--muted-foreground-hsl)); line-height: 1.7; text-align: justify; margin-bottom: 16px; }
.content-section p:last-child { margin-bottom: 0; }

/* CONTENT WITH IMAGE */
.content-with-image { display: block; }
@media (min-width: 1024px) { .content-with-image { display: flex; gap: 48px; align-items: flex-start; } }
.content-image { width: 100%; margin-bottom: 32px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); background-color: hsl(var(--muted-hsl)); }
@media (min-width: 1024px) { .content-image { width: 50%; margin-bottom: 0; } }
.content-image img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 1024px) { .content-text { width: 50%; } }

/* SERVICES SECTION */
.services-section h2 { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; color: hsl(var(--foreground-hsl)); margin-bottom: 32px; text-align: center; }
@media (min-width: 640px) { .services-section h2 { font-size: 30px; } }

/* FAQ SECTION */
.faq-section { background-color: hsl(var(--section-alt-hsl)); border-radius: 16px; padding: 32px; }
@media (min-width: 640px) { .faq-section { padding: 48px; } }
.faq-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.faq-icon { width: 48px; height: 48px; border-radius: 8px; background-color: hsl(24, 95%, 53%, 0.1); display: flex; align-items: center; justify-content: center; }
.faq-icon svg { width: 24px; height: 24px; color: hsl(var(--accent-hsl)); }
.faq-title { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; color: hsl(var(--foreground-hsl)); }
@media (min-width: 640px) { .faq-title { font-size: 30px; } }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background-color: hsl(var(--card-hsl)); border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { width: 100%; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; font-size: 16px; font-weight: 600; color: hsl(var(--foreground-hsl)); text-align: left; transition: color 0.15s; }
.faq-question h4 { font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; margin: 0; line-height: inherit; }
.faq-question:hover { color: hsl(var(--accent-hsl)); }
.faq-question svg { width: 20px; height: 20px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 24px 20px; color: hsl(var(--muted-foreground-hsl)); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 12px; text-align: justify; line-height: 1.6; }
.faq-answer p:last-child { margin-bottom: 0; }

/* NEARBY AREAS */
.nearby-section { border-top: 1px solid hsl(var(--border-hsl)); padding-top: 48px; }
.nearby-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.nearby-header svg { width: 24px; height: 24px; color: hsl(var(--accent-hsl)); }
.nearby-header h2 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: hsl(var(--foreground-hsl)); }
.nearby-intro { color: hsl(var(--muted-foreground-hsl)); margin-bottom: 24px; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.nearby-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background-color: hsl(var(--card-hsl)); border: 1px solid hsl(var(--border-hsl)); border-radius: 9999px; font-size: 14px; font-weight: 500; color: hsl(var(--foreground-hsl)); transition: all 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.nearby-link:hover { background-color: hsl(var(--accent-hsl)); color: hsl(0, 0%, 100%); border-color: hsl(var(--accent-hsl)); }
.nearby-link svg { width: 16px; height: 16px; }
.nearby-footer { color: hsl(var(--muted-foreground-hsl)); }
.nearby-footer a { color: hsl(var(--accent-hsl)); font-weight: 500; }
.nearby-footer a:hover { text-decoration: underline; }

/* LOCAL RESOURCES SECTION */
.local-resources-section { border-top: 1px solid hsl(var(--border-hsl)); padding-top: 48px; margin-top: 48px; }
.local-resources-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.local-resources-header svg { width: 24px; height: 24px; color: hsl(var(--accent-hsl)); }
.local-resources-header h2 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; color: hsl(var(--foreground-hsl)); }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s ease-out both; }
/* Use 'both' so pre-animation state is applied, and forwards fill keeps final state */
.animate-slide-up { opacity: 0; animation: slideUp 0.6s ease-out both; }
/* Delay variant: opacity:0 is safe here because 'both' guarantees final opacity:1 after animation */
.animate-fade-in-delay-1 { opacity: 0; animation: fadeIn 0.6s ease-out 0.1s both; }

/* SAFETY NET: Ensure hero text is always visible regardless of animation state.
   Covers: CSS not loaded, prefers-reduced-motion, JS-blocked animations, theme conflicts. */
.hero-inner h1,
.hero-inner .hero-badge,
.hero-inner .hero-desc,
.hero-inner .hero-benefits,
.hero-inner .hero-benefit,
.hero-inner .hero-buttons {
  visibility: visible;
}

/* Reduced motion: skip animations entirely, show content immediately */
@media (prefers-reduced-motion: reduce) {
  .animate-slide-up,
  .animate-fade-in,
  .animate-fade-in-delay-1 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   GET A QUOTE POPUP (Desktop)
   ========================================================================== */
.quote-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quote-popup-overlay.active {
    display: flex;
}

.quote-popup {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 4px solid hsl(var(--primary-hsl));
    animation: popupIn 0.3s ease-out;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.quote-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: hsl(var(--primary-hsl));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quote-popup-close svg {
    width: 18px;
    height: 18px;
    color: white;
}

.quote-popup-close:hover {
    background: hsl(var(--primary-hsl) / 0.8);
    transform: scale(1.1);
}

.quote-popup-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: hsl(var(--primary-hsl));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.quote-popup-icon svg {
    width: 36px;
    height: 36px;
    color: hsl(var(--accent-hsl));
}

.quote-popup-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: hsl(var(--foreground-hsl));
    margin-bottom: 8px;
}

.quote-popup-subtitle {
    color: hsl(var(--muted-foreground-hsl));
    font-size: 16px;
    margin-bottom: 28px;
}

.quote-popup-phone {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: hsl(var(--accent-hsl));
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.quote-popup-hours {
    font-size: 14px;
    color: hsl(var(--muted-foreground-hsl));
    margin-bottom: 28px;
}

.quote-popup-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.quote-popup-divider::before,
.quote-popup-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: hsl(var(--primary-hsl));
}

.quote-popup-divider span {
    color: hsl(var(--primary-hsl));
    font-size: 14px;
    font-weight: 600;
}

.quote-popup-qr {
    display: inline-block;
    padding: 16px;
    background: hsl(var(--primary-hsl));
    border-radius: 12px;
    margin-bottom: 16px;
}

.quote-popup-qr img {
    display: block;
    border-radius: 8px;
}

.quote-popup-qr-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground-hsl));
    margin-bottom: 24px;
}

.quote-popup-qr-label strong {
    color: hsl(var(--primary-hsl));
}

.quote-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, hsl(var(--accent-hsl)) 0%, hsl(24, 95%, 58%) 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px hsl(var(--accent-hsl) / 0.4);
    transition: all 0.3s;
}

.quote-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsl(var(--accent-hsl) / 0.5);
}

.quote-popup-btn svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   MOBILE CLICK TO CALL BUTTON (Floating)
   ========================================================================== */
.mobile-click-to-call {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, hsl(var(--accent-hsl)) 0%, hsl(24, 95%, 58%) 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px hsl(var(--accent-hsl) / 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.mobile-click-to-call svg {
    width: 18px;
    height: 18px;
}

.mobile-click-to-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsl(var(--accent-hsl) / 0.5);
}

/* Show mobile button, hide popup trigger on mobile */
@media (max-width: 768px) {
    .mobile-click-to-call {
        display: flex;
    }
    
    .quote-popup-overlay {
        display: none !important;
    }
}

/* ==========================================================================
   CITY PAGE - DUMPSTERS & HOW IT WORKS SECTIONS
   ========================================================================== */
.city-dumpsters-section,
.city-how-it-works-section {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid hsl(var(--border-hsl));
}

.city-dumpsters-section .section-header,
.city-how-it-works-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.city-dumpsters-section .cards-grid {
    margin-top: 32px;
}

/* Slightly smaller cards on city pages */
.city-dumpsters-section .card {
    padding: 20px;
}

.city-dumpsters-section .card-size .num {
    font-size: 42px;
}

.city-dumpsters-section .card-desc {
    font-size: 13px;
}

.city-dumpsters-section .card-list li {
    font-size: 13px;
}

/* Responsive adjustments for city pages */
@media (max-width: 1024px) {
    .city-dumpsters-section .cards-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .city-dumpsters-section .cards-grid.cols-4,
    .city-how-it-works-section .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .city-dumpsters-section,
    .city-how-it-works-section {
        margin-bottom: 48px;
        padding-bottom: 48px;
    }
}

/* ============================================
   STATE/COUNTY PAGE: 3-Column Location List
   ============================================ */
.county-list-section {
    padding: 48px 0 24px;
}

.county-list-section .section-header {
    margin-bottom: 32px;
}

.county-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
    max-width: 960px;
    margin: 0 auto;
}

.county-col {
    display: flex;
    flex-direction: column;
}

.county-link {
    display: block;
    padding: 12px 8px;
    font-size: 17px;
    font-weight: 500;
    color: hsl(var(--foreground-hsl));
    text-decoration: none;
    border-bottom: 1px solid hsl(var(--border-hsl));
    transition: color 0.15s ease;
}

.county-link:last-child {
    border-bottom: none;
}

.county-link:hover {
    color: hsl(var(--accent-hsl));
}

@media (max-width: 768px) {
    .county-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 24px;
    }
}

@media (max-width: 480px) {
    .county-columns {
        grid-template-columns: 1fr;
    }
}
