:root {
  --green: #0f3d2e;
  --green-2: #176349;
  --ink: #0a0d0c;
  --muted: #65716c;
  --line: #d9e0dc;
  --paper: #f7f8f5;
  --white: #ffffff;
  --amber: #b88746;
  --shadow: 0 20px 50px rgba(8, 15, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(15, 61, 46, 0.12);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 16px clamp(18px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 66px;
  overflow: hidden;
}

.brand img {
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: auto;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  justify-content: center;
}

.nav a {
  color: #20302b;
  font-size: 0.95rem;
  font-weight: 650;
}

.cart-button,
.filter,
.icon-button,
.button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  gap: 10px;
  padding: 10px 14px 10px 18px;
}

.cart-button strong {
  align-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--ink);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 6px;
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 12, 10, 0.9) 0%, rgba(9, 19, 15, 0.76) 38%, rgba(9, 19, 15, 0.24) 68%, rgba(9, 19, 15, 0.08) 100%),
    url("assets/zoneglobal-audio-hero.png") center / cover no-repeat;
  display: flex;
  min-height: clamp(560px, 78svh, 760px);
  padding: clamp(36px, 6vw, 86px) clamp(18px, 5vw, 64px);
  position: relative;
}

.hero-copy {
  color: var(--white);
  max-width: 760px;
  padding-right: 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-text {
  color: #dce7e1;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  max-width: 610px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.button.light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #edf5f1;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 13px;
}

.trust-strip {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip div {
  background: #121816;
  padding: 26px clamp(18px, 4vw, 54px);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: #c4cfca;
  line-height: 1.5;
  margin-top: 6px;
}

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

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

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

.feature-grid article,
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  padding: 28px;
}

.feature-icon {
  color: var(--amber);
  display: block;
  font-weight: 900;
  margin-bottom: 42px;
}

.feature-grid p,
.product-card p,
.business-copy p,
.contact-form label,
.cart-summary p {
  color: var(--muted);
  line-height: 1.55;
}

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

.filters {
  margin-bottom: 24px;
  margin-top: 0;
}

.filter {
  background: #edf2ee;
  border-radius: 999px;
  color: #31433c;
  font-weight: 800;
  min-height: 40px;
  padding: 0 16px;
}

.filter.active {
  background: var(--green);
  color: var(--white);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.product-media {
  align-items: center;
  background: #f4f6f3;
  display: grid;
  min-height: 250px;
  padding: 22px;
  place-items: center;
}

.product-media img {
  height: 210px;
  object-fit: contain;
  width: 100%;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.product-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.price {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
}

.rating {
  color: var(--amber);
  font-weight: 900;
}

.product-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.business {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: 0.85fr 1.15fr;
}

.business .eyebrow {
  color: #aed6c6;
}

.business-copy p {
  color: #d7e4df;
}

.business img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.contact {
  display: grid;
  gap: clamp(24px, 5vw, 80px);
  grid-template-columns: 0.8fr 1fr;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  font-weight: 750;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.cart-panel {
  background: var(--white);
  bottom: 0;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 420px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 220ms ease;
  width: min(100vw, 420px);
  z-index: 50;
}

.cart-open .cart-panel {
  transform: translateX(0);
}

.cart-head,
.cart-summary {
  padding: 22px;
}

.cart-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.cart-head h2 {
  font-size: 1.35rem;
  margin: 0;
}

.icon-button {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 1.5rem;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.cart-items {
  overflow: auto;
  padding: 16px 22px;
}

.cart-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding: 14px 0;
}

.cart-item div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-item button {
  background: none;
  border: 0;
  color: var(--green-2);
  cursor: pointer;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.cart-summary {
  border-top: 1px solid var(--line);
}

.cart-summary div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.overlay {
  background: rgba(10, 13, 12, 0.46);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease;
  z-index: 40;
}

.cart-open .overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  padding: 26px clamp(18px, 5vw, 64px);
}

.site-footer p {
  color: #c4cfca;
  margin: 0;
}

.site-footer .brand {
  background: var(--white);
  border-radius: 8px;
  height: 54px;
  padding: 6px 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.footer-links a {
  color: #dce7e1;
  font-size: 0.92rem;
  font-weight: 750;
}

.legal-hero {
  background: var(--green);
  color: var(--white);
  padding: clamp(64px, 10vw, 130px) clamp(18px, 5vw, 64px);
}

.legal-hero h1 {
  max-width: 980px;
}

.legal-hero p {
  color: #d7e4df;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 780px;
}

.legal-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: 260px 1fr;
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 64px);
}

.legal-toc {
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 18px;
  position: sticky;
  top: 120px;
}

.legal-toc a {
  border-radius: 6px;
  color: #20302b;
  font-weight: 800;
  padding: 9px 10px;
}

.legal-toc a:hover {
  background: #edf2ee;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 44px);
  scroll-margin-top: 120px;
}

.legal-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.legal-card h3 {
  margin-top: 26px;
}

.legal-card p,
.legal-card li {
  color: #394942;
  line-height: 1.65;
}

.legal-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .business,
  .contact,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(7, 12, 10, 0.94) 0%, rgba(9, 19, 15, 0.72) 52%, rgba(9, 19, 15, 0.36) 100%),
      url("assets/zoneglobal-audio-hero.png") center / cover no-repeat;
    min-height: 620px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .trust-strip,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: 185px;
  }

  .cart-button span {
    display: none;
  }

  .hero-actions,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-footer .brand {
    max-width: 220px;
  }
}
