:root {
  --leaf: #247a3b;
  --leaf-deep: #154d2c;
  --meadow: #83c94a;
  --mint: #dff4d8;
  --sky: #2aa7cf;
  --sun: #ffc84d;
  --coral: #ef5b3f;
  --berry: #c92838;
  --paper: #fffdf6;
  --white: #ffffff;
  --ink: #173325;
  --muted: #5d6e62;
  --line: rgba(23, 51, 37, 0.14);
  --shadow: 0 18px 44px rgba(21, 77, 44, 0.14);
  color-scheme: light;
}

* {
  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(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 122, 59, 0.16);
  background: rgba(255, 253, 246, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  color: var(--leaf-deep);
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  max-width: 220px;
  overflow-wrap: break-word;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--leaf-deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  outline: none;
  background: var(--mint);
}

.hero {
  position: relative;
  min-height: min(760px, 82svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background-color: #f7f9e9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.98) 0%, rgba(255, 253, 246, 0.82) 42%, rgba(255, 253, 246, 0.2) 100%),
    url("assets/logo-plogging.png") right 7% center / min(58vw, 700px) no-repeat,
    #e5f4d0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 110px;
  background:
    radial-gradient(circle at 12% 70%, rgba(131, 201, 74, 0.26), transparent 34%),
    radial-gradient(circle at 82% 60%, rgba(255, 200, 77, 0.3), transparent 32%);
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  width: min(670px, 100%);
  padding: 70px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: var(--leaf-deep);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  width: min(620px, 100%);
  margin: 22px 0 0;
  color: #284b35;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.form-actions,
.admin-actions,
.tab-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.centered-actions {
  justify-content: center;
}

.button,
button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(36, 122, 59, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--leaf-deep);
  box-shadow: 0 12px 22px rgba(36, 122, 59, 0.23);
}

.button.secondary,
button.secondary {
  color: var(--leaf-deep);
  background: var(--sun);
  box-shadow: 0 8px 18px rgba(255, 200, 77, 0.24);
}

.button.ghost,
button.ghost {
  color: var(--leaf-deep);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px var(--line);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.section {
  padding: 78px 0;
}

.section.tint {
  background: #eef8e9;
}

.section.spring {
  background: linear-gradient(180deg, #fbfde9 0%, #eef8e9 100%);
}

.section.sky {
  background: #eaf7fa;
}

.section.coral {
  background: #fff0ec;
}

.section-header {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header h2,
.page-hero h1 {
  margin: 0;
  color: var(--leaf-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-header p,
.page-hero p,
.legal-block p,
.legal-block li {
  color: var(--muted);
}

.section-header p,
.page-hero p {
  margin: 14px 0 0;
  font-size: 1.06rem;
}

.proof-grid,
.steps-grid,
.route-grid,
.home-updates-grid,
.equipment-grid,
.request-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

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

.proof-item,
.step-item,
.route-item,
.timeline-card,
.form-panel,
.equipment-card,
.request-panel,
.legal-block,
.admin-card,
.admin-login {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 132px;
  padding: 22px;
}

.proof-item strong {
  display: block;
  color: var(--leaf-deep);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 700;
}

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

.step-item {
  padding: 24px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--leaf-deep);
  background: var(--sun);
  font-weight: 950;
}

.step-item h3,
.route-item h3,
.equipment-card h3,
.timeline-card h3,
.legal-block h2,
.admin-card h3 {
  margin: 16px 0 8px;
  color: var(--leaf-deep);
  font-size: 1.22rem;
  line-height: 1.2;
}

.step-item p,
.route-item p,
.event-card p,
.press-card p,
.equipment-card p,
.timeline-card p,
.admin-card p {
  margin: 0;
  color: var(--muted);
}

.home-updates-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 22px;
}

.update-column-heading {
  margin-bottom: 14px;
}

.update-column-heading h3 {
  margin: 0;
  color: var(--leaf-deep);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.event-list,
.press-list {
  display: grid;
  gap: 14px;
}

.event-card,
.press-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(21, 77, 44, 0.1);
  overflow: hidden;
}

.event-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
}

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

.event-datebox {
  min-height: 100%;
  padding: 18px 12px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  color: var(--white);
  background: var(--leaf-deep);
  text-align: center;
}

.event-datebox span {
  font-weight: 900;
  font-size: 1.15rem;
}

.event-datebox strong {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--leaf-deep);
  background: var(--sun);
  font-size: 0.96rem;
}

.event-content,
.press-card {
  padding: 18px;
}

.event-card h3,
.press-card h3 {
  margin: 0 0 10px;
  color: var(--leaf-deep);
  font-size: 1.18rem;
  line-height: 1.22;
}

.event-content p + p,
.press-card p + .press-link {
  margin-top: 10px;
}

.event-content p:not(:last-child) {
  margin-bottom: 8px;
}

.press-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 850;
}

.press-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--leaf-deep);
  font-weight: 900;
  text-decoration: none;
}

.press-link:hover,
.press-link:focus-visible {
  text-decoration: underline;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 26px;
}

.timeline-list {
  display: grid;
  gap: 18px;
}

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

.timeline-card {
  overflow: hidden;
}

.timeline-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mint);
}

.timeline-content {
  padding: 18px;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.route-pill {
  display: inline-flex;
  max-width: 100%;
  margin: 10px 0;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--leaf-deep);
  background: var(--mint);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-panel,
.request-panel,
.admin-login {
  padding: 24px;
}

.form-panel h2,
.request-panel h2,
.admin-login h1 {
  margin: 0 0 8px;
  color: var(--leaf-deep);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.form-panel > p,
.request-panel > p,
.admin-login > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--leaf-deep);
  font-weight: 850;
  font-size: 0.94rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 51, 37, 0.22);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(131, 201, 74, 0.36);
  border-color: var(--leaf);
}

.status {
  min-height: 24px;
  margin-top: 12px;
  color: var(--leaf-deep);
  font-weight: 800;
}

.status.error {
  color: var(--berry);
}

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

.route-item {
  min-height: 172px;
  padding: 22px;
  border-top: 5px solid var(--meadow);
}

.route-item:nth-child(2) {
  border-top-color: var(--sky);
}

.route-item:nth-child(3) {
  border-top-color: var(--coral);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(880px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px 18px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(21, 77, 44, 0.08);
}

summary {
  cursor: pointer;
  color: var(--leaf-deep);
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 26px;
  align-items: start;
}

.contact-note {
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf-deep);
}

.contact-note h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.contact-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.98), rgba(223, 244, 216, 0.78)),
    #eef8e9;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: center;
}

.page-hero img {
  width: 240px;
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: end;
}

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

.equipment-card {
  overflow: hidden;
}

.equipment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: var(--mint);
}

.equipment-card-content {
  padding: 20px;
}

.price-line {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--leaf-deep);
  background: var(--sun);
  font-weight: 900;
}

.request-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: start;
}

.choice-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice-list li {
  padding: 14px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--leaf-deep);
  font-weight: 800;
}

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

.legal-block {
  padding: 26px;
}

.legal-block h2 {
  margin-top: 0;
}

.legal-block ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.admin-page {
  min-height: 100svh;
  background: #eef8e9;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 72px;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-top h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.admin-login {
  width: min(520px, 100%);
  margin: 60px auto;
}

.login-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.login-options form {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.login-options h2 {
  margin: 0 0 12px;
  color: var(--leaf-deep);
  font-size: 1.25rem;
}

.admin-identity {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

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

.admin-card {
  overflow: hidden;
}

.admin-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  padding: 12px;
  background: var(--mint);
}

.admin-card-body {
  padding: 18px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf-deep);
  font-weight: 850;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
}

.product-form {
  margin-top: 14px;
}

.product-admin-image {
  max-height: 280px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--leaf-deep);
  background: var(--mint);
  font-size: 0.86rem;
  font-weight: 900;
}

.badge.pending {
  background: var(--sun);
}

.badge.rejected {
  color: var(--white);
  background: var(--berry);
}

.badge.draft {
  background: #ece7d4;
}

.badge.published {
  color: var(--white);
  background: var(--leaf);
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.84);
  background: var(--leaf-deep);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 246, 0.98) 0%, rgba(255, 253, 246, 0.84) 54%, rgba(255, 253, 246, 0.44) 100%),
      url("assets/logo-plogging.png") center bottom 18px / min(82vw, 430px) no-repeat,
      #e5f4d0;
  }

  .hero-copy {
    padding: 44px 0 310px;
  }

  .proof-grid,
  .steps-grid,
  .home-updates-grid,
  .timeline-layout,
  .preview-list,
  .route-grid,
  .contact-layout,
  .page-hero-inner,
  .equipment-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .page-hero img {
    width: 170px;
    justify-self: start;
  }

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

  .event-datebox {
    min-height: auto;
    justify-items: start;
    text-align: left;
  }

  .press-meta {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 620px) {
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .nav-shell,
  .footer-inner,
  .admin-shell {
    width: min(100% - 24px, 1180px);
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  .section {
    padding: 56px 0;
  }

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

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

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

  .proof-item {
    min-height: 116px;
    padding: 16px;
  }

  .timeline-meta,
  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .button,
  button {
    width: 100%;
  }
}
