:root {
  --sitemap-green: #61bd35;
  --sitemap-green-dark: #398f20;
  --sitemap-ink: #07100e;
  --sitemap-text: #17201d;
  --sitemap-muted: #65706b;
  --sitemap-line: rgba(7, 16, 14, .12);
  --sitemap-soft: #f5f7f2;
  --sitemap-shadow: 0 20px 52px rgba(7, 15, 13, .11);
  --sitemap-font: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sitemap-v1,
.sitemap-v1 * { box-sizing: border-box; }

.sitemap-v1 {
  overflow: hidden;
  color: var(--sitemap-text);
  background: #fff;
  font-family: var(--sitemap-font);
}

.page-template-page-sitemap .site-footer,
.page-template-page-sitemap-php .site-footer,
.sitemap-footer + .site-footer { display: none; }

.sitemap-shell {
  width: min(100% - 72px, 1340px);
  margin-inline: auto;
}

.sitemap-hero {
  position: relative;
  min-height: 430px;
  padding: 112px 0 72px;
  color: #fff;
  background: #050908;
}

.sitemap-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.76) 48%, rgba(0,0,0,.28)),
    radial-gradient(circle at right center, rgba(97,189,53,.24), transparent 34%),
    url("../images/homepage/pack-02-product-renders.png");
  background-repeat: no-repeat;
  background-position: center, center, right 40px center;
  background-size: auto, auto, min(820px, 62vw);
}

.sitemap-hero .sitemap-shell {
  position: relative;
  z-index: 1;
}

.sitemap-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

.sitemap-breadcrumb a { color: inherit; text-decoration: none; }
.sitemap-breadcrumb span[aria-hidden] { color: var(--sitemap-green); }

.sitemap-eyebrow {
  margin: 0 0 14px;
  color: var(--sitemap-green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sitemap-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.sitemap-hero h1 + p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
}

.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 72px 0;
}

.sitemap-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--sitemap-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 16, 14, .03);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, border-color .25s ease, box-shadow .25s ease;
}

.sitemap-card.is-visible,
.sitemap-help.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sitemap-card:hover {
  border-color: rgba(97,189,53,.34);
  box-shadow: var(--sitemap-shadow);
}

.sitemap-card h2 {
  margin: 0 0 20px;
  color: var(--sitemap-ink);
  font-size: 1.2rem;
  line-height: 1.35;
}

.sitemap-card ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-card a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  color: var(--sitemap-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 16, 14, .08);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
}

.sitemap-card li:last-child a { border-bottom: 0; }

.sitemap-card a:after {
  content: "->";
  flex: 0 0 auto;
  color: var(--sitemap-green-dark);
  font-weight: 900;
  opacity: .56;
  transition: transform .2s ease, opacity .2s ease;
}

.sitemap-card a:hover,
.sitemap-card a:focus-visible { color: var(--sitemap-green-dark); }

.sitemap-card a:hover:after,
.sitemap-card a:focus-visible:after {
  opacity: 1;
  transform: translateX(4px);
}

.sitemap-card a:focus-visible,
.sitemap-button:focus-visible {
  outline: 3px solid rgba(97,189,53,.45);
  outline-offset: 4px;
}

.sitemap-help {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 78px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #07100e, #102119);
  box-shadow: var(--sitemap-shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.sitemap-help h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.14;
}

.sitemap-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.sitemap-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 900;
}

.sitemap-button--dark { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.sitemap-button--green { background: var(--sitemap-green-dark); }

.sitemap-footer {
  color: #fff;
  background: #050908;
  font-family: var(--sitemap-font);
}

.sitemap-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 34px;
  padding: 52px 0 38px;
}

.sitemap-footer strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: .08em;
}

.sitemap-footer p,
.sitemap-footer a {
  color: rgba(255,255,255,.72);
  font-size: .85rem;
  line-height: 1.7;
}

.sitemap-footer h3 {
  margin: 0 0 14px;
  color: var(--sitemap-green);
  font-size: .86rem;
  text-transform: uppercase;
}

.sitemap-footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
}

.sitemap-footer a:hover { color: #fff; }

.sitemap-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.sitemap-footer__bottom p { margin: 0; }
.sitemap-footer__bottom a { display: inline; margin: 0; }

@media (max-width: 1120px) {
  .sitemap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sitemap-shell { width: min(100% - 36px, 1340px); }
  .sitemap-hero { min-height: 360px; padding: 92px 0 56px; }
  .sitemap-hero:before { background-size: auto, auto, 520px; background-position: center, center, right -190px center; }
  .sitemap-groups { grid-template-columns: 1fr; gap: 16px; padding: 46px 0; }
  .sitemap-card { padding: 22px; }
  .sitemap-help { grid-template-columns: 1fr; margin-bottom: 52px; padding: 26px; }
  .sitemap-help__actions { justify-content: stretch; }
  .sitemap-button { width: 100%; }
  .sitemap-footer__grid { grid-template-columns: 1fr; padding-top: 38px; }
  .sitemap-footer__bottom { flex-direction: column; }
}
