:root {
  --ink: #15221b;
  --muted: #58645d;
  --pine: #124f3a;
  --moss: #728a54;
  --coral: #d65f42;
  --sky: #8bcfd2;
  --sun: #f0c85a;
  --paper: #f6f7ef;
  --white: #ffffff;
  --line: #d9dfd4;
  --shadow: 0 18px 48px rgba(20, 32, 25, .14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

code {
  font-family: "Courier New", monospace;
  font-size: .92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 44px);
  background: rgba(246, 247, 239, .94);
  border-bottom: 1px solid rgba(21, 34, 27, .09);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 15px;
}

.main-nav a,
.header-phone,
.text-link,
.socials a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.header-phone {
  color: var(--pine);
  font-weight: 800;
  white-space: nowrap;
}

.icon {
  width: 1.12em;
  height: 1.12em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(690px, calc(100svh - 98px));
  padding: clamp(56px, 9vw, 96px) clamp(20px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 79, 58, .98), rgba(21, 34, 27, .94) 58%, rgba(214, 95, 66, .82)),
    radial-gradient(circle at 82% 10%, rgba(240, 200, 90, .24), transparent 34%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(120deg, transparent 0 47%, rgba(255, 255, 255, .5) 47% 48%, transparent 48% 100%),
    linear-gradient(30deg, transparent 0 48%, rgba(255, 255, 255, .36) 48% 49%, transparent 49% 100%);
  background-size: 120px 120px;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero-content {
  max-width: 780px;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 28px;
  border: 2px solid rgba(240, 200, 90, .8);
  border-radius: 8px;
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 13 / 12;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .28);
}

.hero-media figcaption {
  position: relative;
  display: inline-flex;
  max-width: calc(100% - 32px);
  margin: -42px 16px 0;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(246, 247, 239, .94);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 6vw, 74px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  font-size: 24px;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.button.secondary {
  color: var(--ink);
  background: var(--sky);
}

.button.ghost {
  color: var(--pine);
  background: var(--paper);
  border: 1px solid var(--line);
}

.quick-benefits {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quick-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  max-width: 620px;
  margin: 34px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, .3);
  border: 1px solid rgba(255, 255, 255, .32);
}

.hero-facts div {
  padding: 14px;
  background: rgba(8, 25, 18, .35);
}

.hero-facts dt {
  font-size: 26px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.section,
.section-band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

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

.section-band {
  background:
    linear-gradient(135deg, rgba(139, 207, 210, .22), rgba(240, 200, 90, .18)),
    var(--paper);
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.lead-copy p:first-child {
  margin-top: 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-grid a {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.client-grid .icon {
  width: 34px;
  height: 34px;
  color: var(--coral);
}

.client-grid strong {
  font-size: 22px;
}

.client-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.media-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-body,
.media-card-body {
  padding: 18px;
}

.service-category {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.service-card h3 .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--coral);
}

.service-card p:not(.service-category) {
  margin: 0;
  color: var(--muted);
}

.service-card span {
  display: inline-block;
  margin-top: 14px;
  color: var(--pine);
  font-weight: 800;
}

.process-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-grid div,
.review-grid blockquote {
  margin: 0;
  padding: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(21, 34, 27, .1);
  border-radius: 8px;
}

.process-grid span {
  display: block;
  color: var(--coral);
  font-size: 15px;
  font-weight: 900;
}

.process-grid .icon {
  width: 30px;
  height: 30px;
  margin-top: 16px;
  color: var(--pine);
}

.process-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
}

.process-grid p,
.review-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.media-strip figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.media-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-strip figcaption {
  min-height: 58px;
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--pine);
  font-weight: 900;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-cloud span {
  padding: 8px 11px;
  color: var(--ink);
  background: #edf3f1;
  border: 1px solid #cbdad6;
  border-radius: 8px;
  font-size: 14px;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid cite {
  display: block;
  margin-top: 18px;
  color: var(--pine);
  font-style: normal;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  color: var(--pine);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

address {
  margin-top: 22px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.8;
}

address a {
  color: var(--pine);
  font-weight: 800;
}

.notice {
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #bcc9c0;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--pine);
  font-weight: 800;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, .86);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer nav,
.socials {
  display: grid;
  gap: 10px;
}

.page-hero {
  padding: clamp(54px, 8vw, 88px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 79, 58, .94), rgba(21, 34, 27, .78)),
    url("/asset/media/image/documents-contract.jpg") center / cover;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  font-size: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card h2 {
  font-size: 25px;
}

.media-card p {
  color: var(--muted);
}

.media-card dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.media-card dl div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
}

.media-card dt {
  color: var(--muted);
}

.media-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.readable {
  max-width: 850px;
}

.policy-text h2 {
  margin-top: 34px;
  font-size: 30px;
}

.policy-text h2:first-child {
  margin-top: 0;
}

.policy-text p {
  color: var(--muted);
  font-size: 18px;
}

.admin-hero {
  background:
    linear-gradient(90deg, rgba(18, 79, 58, .94), rgba(21, 34, 27, .82)),
    url("/asset/media/image/recycling-sorting.jpg") center / cover;
}

.admin-alert {
  padding: 13px 15px;
  border-radius: 8px;
  font-weight: 800;
}

.admin-alert.success {
  color: #124f3a;
  background: #e4f3ea;
  border: 1px solid #afd3bd;
}

.admin-alert.error {
  color: #8a2d20;
  background: #fae5df;
  border: 1px solid #e1a596;
}

.admin-login,
.admin-toolbar,
.admin-media-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login {
  display: grid;
  gap: 16px;
  max-width: 460px;
  padding: 24px;
}

.admin-login h2 {
  font-size: 34px;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
}

.admin-toolbar form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.admin-page label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.admin-page input,
.admin-page textarea {
  width: 100%;
  border: 1px solid #bcc9c0;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-media-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.admin-media-card h2 {
  font-size: 24px;
}

.admin-media-card p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: min(620px, calc(100svh - 88px));
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 620px;
  }

  .service-grid,
  .gallery-grid,
  .admin-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .media-strip,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .header-phone {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 46px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-facts,
  .client-grid,
  .service-grid,
  .process-grid,
  .review-grid,
  .media-strip,
  .gallery-grid,
  .admin-media-grid {
    grid-template-columns: 1fr;
  }

  .hero-media::before {
    inset: 14px -10px -10px 14px;
  }

  .hero-media figcaption {
    margin-top: -36px;
  }

  .quick-benefits li {
    width: 100%;
  }

  .hero-facts {
    max-width: 100%;
  }

  .button,
  .admin-toolbar .button {
    width: 100%;
  }

  .contact-form {
    padding: 18px;
  }

  .admin-toolbar,
  .admin-toolbar form {
    align-items: stretch;
    flex-direction: column;
  }

  .media-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
