
/* SAVVY WASTE SOLUTIONS
   Shared website design
*/

:root {
  --forest: #12382e;
  --forest-dark: #0b251e;
  --forest-light: #245647;
  --lime: #b8e64b;
  --lime-light: #eaf6c5;
  --white: #ffffff;
  --paper: #f6f9f5;
  --text: #20322b;
  --muted: #617269;
  --border: #dce7de;
  --shadow: 0 12px 40px rgba(10, 38, 29, .09);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 85px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--forest);
  color: var(--white);
}

.section-title {
  max-width: 750px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 8px 0 14px;
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  color: #39704c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 13px 23px;
  border-radius: 9px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform .2s, background .2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-lime {
  color: var(--forest-dark);
  background: var(--lime);
}

.btn-lime:hover {
  background: #cdf77a;
}

.btn-white {
  color: var(--forest);
  background: var(--white);
}

.btn-outline {
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}

/* HEADER */

.topbar {
  background: var(--forest-dark);
  color: var(--white);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
}

.topbar a {
  color: var(--lime);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img {
  width: 53px;
  height: 53px;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav > a,
.nav-dropdown summary {
  font-size: 14px;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
}

.site-nav a:hover,
.nav-dropdown summary:hover {
  color: #588327;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  padding: 12px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
}

.dropdown-menu a:hover {
  background: var(--lime-light);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 27px;
  color: var(--forest);
}

/* HERO */

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    var(--forest-dark),
    var(--forest-light)
  );
  color: var(--white);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}

.page-hero h1 {
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin: 18px 0;
}

.page-hero h1 span {
  color: var(--lime);
}

.page-hero p {
  color: #dcebe2;
  font-size: 17px;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 415px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 25px 55px rgba(0,0,0,.22);
}

.hero-badge {
  position: absolute;
  bottom: -17px;
  left: -17px;
  padding: 13px 20px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--forest-dark);
  font-weight: 800;
}

/* BREADCRUMBS */

.breadcrumbs {
  padding: 18px 0;
  background: var(--paper);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--forest);
  font-weight: 700;
}

/* CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.service-card:hover {
  transform: translateY(-7px);
}

.service-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--forest);
}

.card-body p {
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--forest);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
}

.content-grid img {
  width: 100%;
  border-radius: var(--radius);
}

.content-grid h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.2;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 0 10px 27px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4e8a30;
  font-weight: 800;
}

/* STEPS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  color: #598b35;
}

.step-card h3 {
  margin-bottom: 9px;
}

/* FAQ */

.faq-list {
  max-width: 850px;
  margin: auto;
}

.faq-list details {
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 800;
  font-size: 17px;
}

.faq-list p {
  color: var(--muted);
}

/* QUOTE SECTION */

.quote-section {
  background: var(--forest);
  color: var(--white);
}

.quote-box {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.quote-box h2 {
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.2;
}

.quote-box p {
  color: #dcebe2;
}

.quote-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  margin-bottom: 15px;
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form button {
  width: 100%;
}

/* FOOTER */

.site-footer {
  background: var(--forest-dark);
  color: #dae9df;
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
}

.site-footer h3 {
  color: var(--white);
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 9px 0;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-bottom {
  border-top: 1px solid #345247;
  margin-top: 45px;
  padding-top: 20px;
  font-size: 13px;
}

/* ANIMATIONS */

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .65s, transform .65s;
}

.has-js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
