:root {
  --ink: #1f2a2b;
  --muted: #65706f;
  --green: #416e61;
  --green-dark: #2f544b;
  --green-soft: #edf4f1;
  --line: #dfe6e3;
  --paper: #ffffff;
  --wash: #f7f9f8;
  --shadow: 0 18px 50px rgba(28, 49, 44, 0.09);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: var(--wrap); margin-inline: auto; }
.vh {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }

/* Header */
.topbar {
  background: var(--green-dark);
  color: #f7fbf9;
  font-size: 0.82rem;
}
.topbar .wrap {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: var(--wrap);
  min-height: 84px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-grid; gap: 2px; width: fit-content; }
.brand__name {
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: 0.25em;
  font-weight: 500;
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  font-size: 0.94rem;
}
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--green);
  transition: right 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-link {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
}
.icon-link:hover { border-color: var(--line); background: var(--wash); }
.cart-pill { position: relative; }
.cart-count {
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  width: 44px;
  height: 44px;
}

/* Buttons and common text */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--green-dark); color: white; }
.button--primary:hover { background: var(--green); }
.button--quiet { background: var(--green-soft); color: var(--green-dark); border-color: #d6e5df; }
.button--outline { border-color: var(--line); background: var(--paper); }
.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 750;
}
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-copy { color: var(--muted); max-width: 62ch; }

/* Homepage */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background:
    radial-gradient(circle at 74% 14%, rgba(65, 110, 97, 0.12), transparent 24%),
    linear-gradient(100deg, #fbfcfb 0%, #f5f8f7 52%, #eef3f1 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  filter: blur(4px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: 540px;
  padding: 72px 0 56px;
}
.hero-copy h1 {
  margin: 0;
  max-width: 8.5ch;
  font-size: clamp(3.4rem, 7.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.hero-copy h1 span { color: var(--green); }
.hero-copy > p {
  max-width: 31rem;
  margin: 24px 0 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  color: #3e4b4a;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #53615f;
  font-size: 0.84rem;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 9px; }
.badge-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #b9cbc4;
  border-radius: 50%;
  color: var(--green-dark);
}
.hero-products {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.hero-products::before {
  content: "";
  position: absolute;
  inset: 18% 4% 5% 6%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  filter: blur(10px);
}
.hero-product-main {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  filter: drop-shadow(0 24px 32px rgba(45, 67, 61, 0.13));
}
.hero-product-card {
  position: absolute;
  z-index: 3;
  width: 168px;
  padding: 8px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-product-card img { border-radius: 11px; }
.hero-product-card--one { right: -16px; top: 38px; transform: rotate(4deg); }
.hero-product-card--two { left: -8px; bottom: 18px; transform: rotate(-5deg); }

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: rgba(255,255,255,.93);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 72px;
  align-items: center;
}
.trust-grid article {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  color: #465351;
}
.trust-grid article + article { border-left: 1px solid var(--line); }
.trust-grid strong { display: block; font-size: 0.9rem; }
.trust-grid span { color: var(--muted); font-size: 0.8rem; }

.section { padding: 88px 0; }
.section--soft { background: var(--wash); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading--center { display: block; text-align: center; }
.section-heading--center .section-copy { margin-inline: auto; }
.text-link { color: var(--green-dark); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fbfcfc;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.22s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.025); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-card__eyebrow { margin: 0 0 5px; color: var(--green); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.product-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.product-card__copy { margin: 10px 0 18px; color: var(--muted); font-size: 0.9rem; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-card__foot strong { font-size: 1.04rem; }
.product-card .button { min-height: 38px; padding: 8px 12px; font-size: 0.8rem; }

.steps-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.step { padding: 32px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.step + .step { border-left: 1px solid var(--line); }
.step__number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-weight: 750;
}
.step h3 { margin: 1px 0 6px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.reason-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 1.2rem; }
.reason-card h3 { margin: 18px 0 7px; font-size: 1rem; }
.reason-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Inner pages */
.page-hero { padding: 74px 0 58px; background: linear-gradient(120deg, var(--wash), #eff5f2); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 60px; }
.page-hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 0.95; letter-spacing: -0.055em; }
.page-hero p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
}
.filter-button.is-active { background: var(--green-dark); color: white; border-color: var(--green-dark); }
.search-field {
  min-width: min(330px, 100%);
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.result-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

.product-detail { padding: 72px 0; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 70px; align-items: start; }
.product-detail__media { position: sticky; top: 120px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); overflow: hidden; }
.product-detail__media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.product-detail__copy h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.05em; }
.product-detail__tagline { margin: 18px 0 10px; color: var(--green-dark); font-size: 1.15rem; font-weight: 650; }
.product-detail__description { color: var(--muted); font-size: 1.02rem; }
.product-price { display: block; margin: 26px 0 6px; font-size: 1.7rem; }
.product-note { margin: 0 0 24px; color: var(--muted); font-size: 0.83rem; }
.product-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 11px; }
.product-list li { display: flex; gap: 10px; align-items: center; }
.product-list li::before { content: "✓"; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
.product-buy { display: grid; grid-template-columns: 90px 1fr; gap: 10px; max-width: 430px; }
.qty-input { width: 100%; border: 1px solid var(--line); border-radius: 10px; text-align: center; }
.disclaimer-box { margin-top: 30px; padding: 18px; border-radius: 12px; background: var(--wash); color: var(--muted); font-size: 0.85rem; }

.content-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 70px; align-items: start; }
.side-title { position: sticky; top: 120px; }
.prose h2 { margin: 0 0 16px; font-size: 1.8rem; }
.prose h3 { margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.info-cards { display: grid; gap: 14px; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.info-card h3 { margin: 0 0 6px; }
.info-card p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; background: white; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--green); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 18px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-panel, .contact-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.contact-panel h2, .contact-form h2 { margin-top: 0; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-status { color: var(--green-dark); font-weight: 650; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.cart-items { display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px; }
.cart-item img { width: 150px; height: 150px; object-fit: contain; border-radius: 10px; background: var(--wash); }
.cart-item__content { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.cart-item h2 { margin: 0; font-size: 1.1rem; }
.cart-item__price { margin: 0; font-weight: 750; }
.cart-item__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }
.cart-item__actions button:not(.text-button) { width: 34px; height: 34px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.text-button { border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.order-summary { position: sticky; top: 120px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.order-summary h2 { margin-top: 0; }
.order-total { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.order-summary .button { width: 100%; margin-top: 14px; }
.order-note { color: var(--muted); font-size: 0.85rem; }
.empty-state { padding: 60px 30px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.empty-state h2 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fbfcfb; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 46px;
  padding: 56px 0 38px;
}
.footer-brand p { max-width: 32ch; color: var(--muted); font-size: 0.9rem; }
.footer-col h2 { margin: 0 0 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--green-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 1050px) {
  .nav { grid-template-columns: 210px 1fr auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar .wrap { justify-content: center; }
  .topbar span:last-child { display: none; }
  .nav { grid-template-columns: 1fr auto auto; min-height: 72px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 108px;
    display: grid;
    gap: 0;
    padding: 10px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.22s ease;
    z-index: -1;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-products { min-height: 380px; }
  .hero-product-card { width: 135px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-panel { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .page-hero__grid, .product-detail__grid, .content-grid, .contact-grid, .cart-layout { grid-template-columns: 1fr; }
  .page-hero__grid { gap: 20px; }
  .product-detail__media, .side-title, .order-summary { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .brand__name { font-size: 1.28rem; }
  .brand__tag { font-size: 0.5rem; }
  .nav-actions .icon-link:first-child { display: none; }
  .hero { min-height: auto; }
  .hero-copy h1 { font-size: clamp(3rem, 17vw, 4.4rem); }
  .hero-badges { display: grid; gap: 12px; }
  .hero-products { min-height: 300px; }
  .hero-product-card { width: 105px; }
  .section { padding: 64px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid, .reason-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-direction: column; }
  .search-field { min-width: 0; width: 100%; }
  .product-buy { grid-template-columns: 78px 1fr; }
  .cart-item { grid-template-columns: 100px 1fr; }
  .cart-item img { width: 100px; height: 100px; }
  .cart-item__content { display: block; }
  .cart-item__price { margin: 8px 0; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
