/* LowerTrashBill — Figma-aligned marketing site */
:root {
  --forest: #1b4332;
  --forest-dark: #081c15;
  --forest-mid: #2d6a4f;
  --mint: #52b788;
  --mint-bright: #74c69d;
  --white: #ffffff;
  --gray-50: #f8faf9;
  --gray-100: #f1f5f4;
  --gray-200: #e2e8e6;
  --gray-400: #94a3b0;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 12px 40px rgba(8, 28, 21, 0.18);
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.08);
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement bar */
.announcement-bar {
  background: var(--forest);
  color: var(--white);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  flex-shrink: 0;
}
.logo-icon { color: var(--forest-mid); display: flex; }
.logo-text { letter-spacing: -0.02em; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--forest-mid); }

.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  background: var(--forest-mid);
  color: var(--white) !important;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-header:hover { background: var(--forest); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-800);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 21, 0.88) 0%, rgba(27, 67, 50, 0.78) 45%, rgba(45, 106, 79, 0.65) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { color: var(--white); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
}
.hero-badge i { color: var(--mint-bright); }

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint-bright);
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 480px;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.hero-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-checklist i { color: var(--mint-bright); font-size: 1rem; }

/* Form card in hero */
.rate-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.75rem 1.5rem;
}
.rate-form-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-800);
}
.rate-form-card .sub {
  margin: 0 0 1.25rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.field { margin-bottom: 0.85rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 0.3rem;
}
.input-wrap { position: relative; }
.input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--gray-50);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-wrap input { padding-left: 2.35rem; }
input:focus {
  outline: none;
  border-color: var(--forest-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
  background: var(--white);
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--forest-mid);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--forest); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0.85rem 0 0;
}
.form-error {
  color: #b91c1c;
  font-size: 0.88rem;
  margin-top: 0.75rem;
  display: none;
}
.form-error.visible { display: block; }
.loading { opacity: 0.65; pointer-events: none; }

/* Providers */
.providers-section {
  padding: 4rem 0;
  background: var(--gray-50);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.providers-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.providers-header h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gray-800);
}
.providers-meta { color: var(--gray-500); font-size: 0.95rem; margin: 0.25rem 0 0; }
.sort-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.sort-row select {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-family: inherit;
  background: var(--white);
}

.provider-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
}
.provider-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.provider-name-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.provider-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.provider-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--forest-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.provider-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}
.rating { font-size: 0.88rem; color: var(--gray-600); }
.rating .stars { color: #f59e0b; }

.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--gray-600);
}
.badge-green { background: #d8f3dc; color: var(--forest-mid); }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-gold { background: #fef3c7; color: #b45309; }

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.feature-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--gray-600);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.85rem;
}
.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem;
  text-align: center;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}
.plan-card:hover {
  border-color: var(--forest-mid);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.12);
}
.plan-card.is-featured { border-color: var(--forest-mid); }
.plan-card-badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--forest-mid);
  color: var(--white);
  white-space: nowrap;
}
.plan-cart-icon {
  width: 56px;
  height: 56px;
  margin: 0.5rem auto 0.35rem;
  background: var(--gray-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-mid);
  font-size: 1.5rem;
}
.plan-size-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.plan-label { font-weight: 700; font-size: 0.95rem; margin: 0.15rem 0; color: var(--gray-800); }
.plan-gal { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 0.35rem; }
.plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-mid);
  margin: 0.25rem 0;
}
.plan-price-suffix { font-size: 0.8rem; font-weight: 500; color: var(--gray-500); }
.plan-price-old {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-right: 0.25rem;
}
.plan-billing { font-size: 0.72rem; color: var(--gray-500); margin-bottom: 0.65rem; }
.btn-select {
  width: 100%;
  padding: 0.55rem;
  background: var(--white);
  border: 2px solid var(--forest-mid);
  color: var(--forest-mid);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-select:hover { background: var(--forest-mid); color: var(--white); }
.btn-select-primary { background: var(--forest-mid); color: var(--white); }
.btn-select-primary:hover { background: var(--forest); }

.provider-footer {
  margin-top: 1rem;
  text-align: center;
}
.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-mid);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.5rem 1rem;
}
.btn-details:hover { text-decoration: underline; }

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-200);
  color: var(--gray-600);
}
.empty-state h3 { color: var(--gray-800); margin-top: 0; }

.hidden { display: none !important; }

/* Content sections */
.section {
  padding: 4.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.section-alt { background: var(--gray-50); }
.section h2 {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.5rem;
}
.section .section-lead {
  text-align: center;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto 2.75rem;
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  text-align: center;
}
.section-alt .step-card { background: var(--white); }
.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: #d8f3dc;
  color: var(--forest-mid);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--forest-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-card h3 { margin: 0.35rem 0 0.5rem; font-size: 1.1rem; }
.step-card p { margin: 0; color: var(--gray-600); font-size: 0.92rem; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.benefit {
  text-align: center;
  padding: 0.5rem;
}
.benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: #d8f3dc;
  color: var(--forest-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.benefit h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.benefit p { margin: 0; color: var(--gray-600); font-size: 0.9rem; }

.faq-wrap { max-width: 720px; }
.faq details {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.1rem 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-800);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gray-400);
  font-weight: 400;
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--gray-600); margin: 0.75rem 0 0; font-size: 0.95rem; line-height: 1.6; }

.cta-band {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.65rem; font-size: 1.85rem; }
.cta-band p { opacity: 0.9; margin: 0 0 1.5rem; font-size: 1.05rem; }
.btn-cta {
  max-width: 260px;
  margin: 0 auto;
  display: inline-flex;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open { display: flex; }
  .site-header { position: relative; }
  .btn-header { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}
