/* =========================================================
   VARIABLES / RESET
   ========================================================= */

:root {
  --ink: #17202a;
  --dark: #10161d;

  --accent: #e63946;
  --accent-dark: #bd2530;
  --accent-light: #fff0f1;

  --light: #f5f6f7;
  --muted: #66717d;
  --white: #fff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  color: var(--ink);
  background: var(--white);

  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 9px 0;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {
  position: sticky;
  top: 0;
  z-index: 20;

  background: var(--white);
  border-bottom: 1px solid var(--border);
}

nav .container {
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--accent);
}

.img-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 0.95rem;
  font-weight: 650;
}

.navlinks a {
  transition: color 0.18s ease;
}

.navlinks a:hover {
  color: var(--accent-dark);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 13px 20px;

  border: 0;
  border-radius: 8px;

  font: inherit;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.22);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #1b242d;
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

.btn-light:hover {
  background: #edf0f2;
  transform: translateY(-1px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  padding: 92px 0 82px;

  background: linear-gradient(
    105deg,
    #111820 0%,
    #1c2732 62%,
    #283744 100%
  );

  color: var(--white);
}

.hero::before {
  content: "";

  position: absolute;
  inset: -10px;

  background-image: url("images/dumpster-background.png");
  background-size: cover;
  background-position: center;

  filter: blur(5px);
  transform: scale(1.03);

  z-index: 0;
}

.hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(50, 50, 50, 0.4);

  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;

  gap: 70px;
}

.eyebrow {
  color: var(--accent);

  font-size: 0.8rem;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 15px 0 24px;

  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;

  color: #d5dbe0;

  font-size: 1.15rem;
}

.hero h1,
.hero p,
.hero .eyebrow,
.hero .trust {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 30px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;

  margin-top: 28px;

  color: #c8d0d7;

  font-size: 0.9rem;
}

.trust strong {
  color: var(--white);
}


/* =========================================================
   QUOTE CARD
   ========================================================= */

.quote-card {
  padding: 28px;

  background: var(--white);
  color: var(--ink);

  border-radius: 14px;
  border-top: 4px solid var(--accent);

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.47);
}

.quote-card h2 {
  margin: 0 0 4px;

  font-size: 1.45rem;
}

.quote-card p {
  margin-top: 4px;

  color: var(--muted);

  font-size: 0.9rem;
}

.quote-card .btn {
  width: 100%;
  margin-top: 4px;
}


/* =========================================================
   FORM FIELDS
   ========================================================= */

.field {
  margin: 13px 0;
}

.field label {
  display: block;

  margin-bottom: 5px;

  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;

  padding: 11px 12px;

  background: var(--white);

  border: 1px solid #d6dbe0;
  border-radius: 7px;

  font: inherit;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;

  border-color: var(--accent);

  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.field textarea {
  min-height: 75px;
  resize: vertical;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
  padding: 78px 0;
}

.section-head {
  max-width: 680px;

  margin: 0 auto 42px;

  text-align: center;
}

.section-head h2 {
  margin: 7px 0 10px;

  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-head p {
  color: var(--muted);
}


/* =========================================================
   DUMPSTER SIZES
   ========================================================= */

.sizes {
  background: var(--light);
}

.size-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-image img {
  display: block;

  width: 100%;
  max-width: 420px;
  height: auto;

  object-fit: contain;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.card {
  padding: 24px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 12px;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);

  border-color: rgba(230, 57, 70, 0.4);

  box-shadow: 0 12px 30px rgba(16, 22, 29, 0.08);
}

.card h3 {
  margin: 0 0 5px;
}

.yard {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.card p {
  color: var(--muted);

  font-size: 0.92rem;
}

.card .best {
  color: var(--accent-dark);

  font-size: 0.75rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* =========================================================
   RENTAL PACKAGE / WHAT'S INCLUDED
   ========================================================= */

#how.rental-package {
  padding: 90px 0;

  background: var(--white);
}

/*
  Desktop:
  LEFT = graphic
  RIGHT = package information
*/

#how .rental-package-inner {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  align-items: center;

  gap: 80px;
}


/* Package Image */

#how .rental-package-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
}

#how .rental-package-image img {
  display: block;

  width: 100%;
  max-width: 330px;
  height: auto;
}


/* Package Content */

#how .rental-package-content {
  width: 100%;
  max-width: 650px;
}

#how .rental-package-content .eyebrow {
  margin-bottom: 10px;
}

#how .rental-package-content h2 {
  margin: 0 0 18px;

  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

#how .rental-package-content h2 span {
  color: var(--accent);
}

#how .package-intro {
  max-width: 600px;

  margin: 0 0 30px;

  color: #555;

  font-size: 1.1rem;
  line-height: 1.7;
}


/* Package Items */

#how .package-items {
  display: flex;
  flex-direction: column;

  gap: 22px;

  margin-bottom: 28px;
}

/* =========================
   PACKAGE ITEMS
   ========================= */

#how .package-items {
  display: flex;
  flex-direction: column;
  gap: 24px;

  width: 100%;
  margin: 32px 0;
}

#how .package-item {
  position: relative;

  display: block;

  width: 100%;

  padding-left: 50px;
}

/* Automatically creates the red checkmark */
#how .package-item::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 2px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  background: var(--accent);
  color: #fff;

  border-radius: 50%;

  font-size: 18px;
  font-weight: 800;
}

#how .package-item h3 {
  margin: 0 0 5px;

  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

#how .package-item p {
  margin: 0;

  max-width: 540px;

  color: var(--muted);

  font-size: 0.98rem;
  line-height: 1.6;
}

#how .package-item h3 {
  margin: 2px 0 4px;

  font-size: 1.15rem;
}

#how .package-item p {
  margin: 0;

  color: #666;

  line-height: 1.6;
}


/* Additional Tonnage */

#how .overage-note {
  margin: 30px 0;
  padding: 18px 20px;

  background: #f7f7f7;

  border-left: 4px solid var(--accent);

  line-height: 1.6;
}

#how .overage-note strong:last-child {
  color: var(--accent);
}


/* =========================================================
   CTA BAND
   ========================================================= */

.band {
  padding: 46px 0;

  background: var(--ink);
  color: var(--white);
}

.band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.band-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.band h2 {
  margin: 0;

  font-size: 2rem;
  letter-spacing: -0.035em;
}

.band p {
  max-width: 600px;

  margin: 8px 0 22px;

  color: #d5dbe0;
}

.band-content .btn {
  margin-top: 4px;
}

.band-image {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 1 420px;
}

.band-image img {
  display: block;

  width: 100%;
  max-width: 420px;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   SERVICE AREAS
   ========================================================= */

.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;

  gap: 50px;
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 10px;

  margin-top: 20px;
}

.area-list div {
  padding: 12px;

  background: var(--light);

  border-left: 3px solid var(--accent);
  border-radius: 7px;

  font-weight: 700;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
  max-width: 800px;
  margin-inline: auto;
}

.faq details {
  padding: 18px 0;

  border-bottom: 1px solid var(--border);
}

.faq summary {
  font-weight: 800;

  cursor: pointer;

  transition: color 0.18s ease;
}

.faq summary:hover {
  color: var(--accent-dark);
}

.faq p {
  margin-bottom: 0;

  color: var(--muted);
}


/* =========================================================
   UTILITIES
   ========================================================= */

.accent-light {
  background: var(--accent-light);
}

.mobile {
  display: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 48px 0;

  background: var(--dark);
  color: #d2d7dc;
}

.footer-grid {
  display: flex;
  justify-content: space-between;

  gap: 30px;
}

.footer-logo {
  color: var(--white);
}

.footer-logo span {
  color: var(--accent);
}

.footer-note {
  max-width: 500px;

  color: #9fa8b0;

  font-size: 0.9rem;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;

  border-top: 1px solid #303941;

  color: #8f98a0;

  font-size: 0.8rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

  .hero-grid,
  .areas {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .navlinks {
    display: none;
  }

  .mobile {
    display: block;
  }

  .topbar .container {
    justify-content: center;
  }

  .topbar .service {
    display: none;
  }

  /* Rental package stacks vertically */
  #how .rental-package-inner {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  #how .rental-package-image {
    order: 1;
  }

  #how .rental-package-content {
    order: 2;

    max-width: 650px;
    margin-inline: auto;
  }

  #how .rental-package-image img {
    max-width: 290px;
  }

  /* CTA */
  .band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .band-image {
    flex: none;
    width: 100%;

    justify-content: flex-start;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

  section {
    padding: 60px 0;
  }

  .topbar-text {
    display: none;
  }
   
   .hero h1 {
    font-size: 3rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  #how.rental-package {
    padding: 55px 0;
  }

  #how .rental-package-inner {
    gap: 35px;
  }

  #how .rental-package-image img {
    max-width: 240px;
  }

  #how .rental-package-content h2 {
    font-size: 2rem;
  }

  #how .package-intro {
    font-size: 1rem;
  }

  .band-image img {
    max-width: 320px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
