/* Affordable Waste Service LLC — marketing site */

:root {
  --navy: #1e426d;
  --navy-mid: #254e7a;
  --navy-deep: #163356;
  --blue: #337eab;
  --green: #53c279;
  --green-dark: #1c7a45;
  --green-hover: #3eaf68;
  --green-bright: #53c279;
  --green-soft: #e7f6ee;
  --green-mid: #a9e0bc;
  --ice: #d6f2fc;
  --cream: #f3f8fb;
  --sand: #d5e3ea;
  --ink: #163356;
  --muted: #4a5e72;
  --line: #c9d7e0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(30, 66, 109, 0.08);
  --radius: 16px;
  --header-h: 112px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --head: "Oswald", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(30, 66, 109, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 88px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.nav-list a {
  font-family: var(--head);
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-list a:hover {
  color: var(--blue);
}

.header-phone {
  font-family: var(--head);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.header-phone:hover {
  color: var(--blue);
}

.icon-phone-mobile,
.nav-toggle {
  display: none;
}

.nav-toggle {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  margin: 0;
  flex: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

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

.btn-primary:hover {
  background: var(--green-hover);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero */

.hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(31, 122, 74, 0.28), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(42, 154, 92, 0.12), transparent 45%),
    var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.section .eyebrow {
  color: var(--green-dark);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.125rem;
  color: rgba(245, 243, 238, 0.86);
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-contact {
  color: rgba(245, 243, 238, 0.8);
  font-size: 0.98rem;
}

.hero-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.hero-contact a:hover {
  color: var(--green-mid);
}

.hero-contact .dot {
  margin: 0 8px;
  opacity: 0.5;
}

.hero-digits {
  font-variant-numeric: tabular-nums;
}

.hero-art picture {
  display: block;
  width: 100%;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Sections */

.section {
  padding: 80px 0;
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 40px;
}

.section-intro h2 {
  margin-bottom: 12px;
}

.section-intro p,
.reason p,
.card p,
.step p {
  color: var(--muted);
}

.services {
  background: var(--cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 66, 109, 0.04);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card h3,
.reason h3,
.step h3 {
  margin-bottom: 8px;
}

/* Why us */

.why-us {
  background: var(--white);
}

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 36px;
}

.reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 8px 0;
}

.reason-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--green-mid);
  display: grid;
  place-items: center;
}

/* How it works */

.how {
  background: var(--ice);
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  position: relative;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* Contact */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-details {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact-label {
  display: block;
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-details a,
.contact-details span:not(.contact-label):not(.contact-sub) {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-sub {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 2px;
}

.quote-form {
  background: var(--cream);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--sand);
}

.form-row {
  margin-bottom: 16px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  appearance: none;
}

.quote-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A6772' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(83, 194, 121, 0.35);
}

.quote-form textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note,
.form-success {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}

.form-success {
  color: var(--green-dark);
  font-weight: 600;
  background: var(--green-soft);
  border-radius: 10px;
  padding: 12px 14px;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: rgba(245, 243, 238, 0.8);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo img {
  display: block;
  height: 92px;
  width: auto;
}

.footer-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-heading {
  font-family: var(--head);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col li {
  margin: 0 0 6px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.site-footer a {
  color: var(--ice);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-digits {
  color: rgba(245, 243, 238, 0.55);
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.88rem;
  color: rgba(245, 243, 238, 0.55);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-art {
    max-width: 640px;
  }
}

@media (max-width: 800px) {
  .nav-toggle,
  .icon-phone-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    text-decoration: none;
  }

  .icon-phone-mobile,
  .nav-toggle {
    flex: none;
  }

  .icon-phone-mobile {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(30, 66, 109, 0.08);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a,
  .header-phone {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--sand);
  }

  .header-cta {
    margin-top: 14px;
    width: 100%;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .section {
    padding: 56px 0;
  }

  .card-grid,
  .reasons,
  .steps,
  .form-split {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 22px 18px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .brand-logo {
    height: 58px;
  }

  :root {
    --header-h: 80px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-art {
    max-width: none;
    margin-inline: 0;
  }

  .hero-photo {
    border-radius: 18px;
  }

  .header-inner {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-toggle-bar {
    transition: none;
  }
}


/* Hidden honeypot for Netlify Forms */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form {
  position: relative;
}

/* Thank-you page */
.thanks-main {
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  background: var(--cream);
}

.thanks-card {
  width: min(36rem, 100%);
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(30, 66, 109, 0.04);
}

.thanks-card h1 {
  margin-bottom: 14px;
}

.thanks-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.thanks-card .btn {
  margin-top: 12px;
}

.thanks-card a[href^="tel:"] {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .thanks-main {
    padding: 40px 0 56px;
  }

  .thanks-card {
    padding: 32px 22px;
  }
}
