:root {
  --red: #d71920;
  --red-dark: #aa1218;
  --ink: #17202a;
  --muted: #667085;
  --line: #e4e8ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --teal: #087f7b;
  --amber: #d98900;
  --blue: #155e75;
  --shadow: 0 18px 44px rgba(20, 32, 45, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 32px);
  margin-inline: auto;
  padding-inline: 16px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}

.topbar {
  color: #fff;
  background: var(--red-dark);
  font-size: 0.9rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(20, 32, 45, 0.05);
}

.header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.24);
}

.brand__text {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  overflow: hidden;
}

.header-search input {
  min-width: 0;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.header-search button {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: var(--red);
}

.header-search svg,
.cart-button svg,
.service-strip svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-link {
  display: grid;
  gap: 1px;
  font-size: 0.82rem;
  color: var(--muted);
}

.help-link strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cart-button span {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.main-nav {
  border-top: 1px solid var(--line);
}

.main-nav__inner,
.category-bar__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav__inner {
  min-height: 48px;
}

.main-nav a {
  position: relative;
  padding: 14px 0;
  color: #344054;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  transform: scaleX(0);
  background: var(--red);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.category-bar {
  background: var(--ink);
  color: #fff;
}

.category-bar__inner {
  min-height: 44px;
  gap: 18px;
}

.category-bar a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.category-bar a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.2) 100%),
    url("../img/hero-packaging.svg") right 8% center / min(58vw, 700px) no-repeat,
    linear-gradient(135deg, #fff 0%, #f5f7fb 56%, #eaf3f4 100%);
}

.hero__copy {
  max-width: 570px;
  padding-block: 76px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #475467;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.24);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn--light {
  color: var(--ink);
  background: #fff;
}

.btn--cart {
  width: 100%;
  color: #fff;
  background: var(--ink);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero__facts div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(20, 32, 45, 0.08);
}

.hero__facts dt {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero__facts dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-strip {
  background: #fff;
  border-block: 1px solid var(--line);
}

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

.service-strip article {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.service-strip article:last-child {
  border-right: 0;
}

.service-strip svg {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--red);
}

.service-strip h2,
.service-strip p {
  margin: 0;
}

.service-strip h2 {
  font-size: 1rem;
}

.service-strip p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 76px 0;
}

.section--muted {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading h2,
.bulk-cta h2,
.split-section h2,
.contact-form h2,
.contact-panel h2,
.shop-toolbar h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.text-link {
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
}

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

.category-tile {
  min-height: 178px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-tile img {
  width: min(108px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  object-fit: contain;
}

.category-tile span {
  font-weight: 900;
}

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

.offer-panel {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-panel--red {
  background: linear-gradient(135deg, #d71920 0%, #8f1116 100%);
}

.offer-panel--teal {
  background: linear-gradient(135deg, #087f7b 0%, #155e75 100%);
}

.offer-panel--amber {
  color: var(--ink);
  background: linear-gradient(135deg, #f5ba48 0%, #d98900 100%);
}

.offer-panel h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.08;
}

.offer-panel p {
  margin: 10px 0 0;
  max-width: 22rem;
  color: currentColor;
  opacity: 0.86;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(20, 32, 45, 0.05);
}

.product-card__image {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 12px;
  background: var(--soft);
  border-radius: 6px;
}

.product-card__image img {
  width: 100%;
  max-height: 176px;
  object-fit: contain;
}

.rating {
  color: #f59e0b;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.product-card h3 {
  margin: 0;
  min-height: 2.7em;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.25;
}

.product-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  margin: auto 0 2px;
  color: var(--red-dark);
  font-weight: 900;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.bulk-cta {
  padding: 46px 0;
  color: #fff;
  background: var(--ink);
}

.bulk-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bulk-cta h2 {
  color: #fff;
}

.bulk-cta p {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #101820;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding: 54px 0 32px;
}

.brand--footer .brand__text {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 12px 0 0;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.page-hero {
  min-height: 320px;
  display: grid;
  align-items: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero--shop,
.page-hero--about,
.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.34) 100%),
    url("../img/hero-packaging.svg") right 10% center / min(46vw, 520px) no-repeat,
    linear-gradient(135deg, #fff 0%, #eef5f7 100%);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 204px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.shop-sidebar h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.category-filter {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  text-align: left;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 800;
}

.category-filter:hover,
.category-filter.is-active {
  color: var(--red-dark);
  background: #fff3f3;
  border-color: #ffd0d2;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.shop-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
}

.shop-controls {
  display: flex;
  gap: 10px;
}

.shop-controls label,
.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-controls input,
.shop-controls select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  outline: none;
}

.shop-controls input:focus,
.shop-controls select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

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

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
}

.split-section p {
  color: var(--muted);
}

.image-stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.value-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-grid h3,
.timeline-grid h2 {
  margin: 0;
  font-size: 1.25rem;
}

.value-grid p,
.timeline-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.timeline-grid article {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stats-band {
  padding: 48px 0;
  color: #fff;
  background: var(--red-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(20, 32, 45, 0.05);
}

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

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-method {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-method strong {
  color: var(--ink);
}

.contact-method a,
.contact-method span {
  color: var(--muted);
}

.map-card {
  min-height: 192px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  border-radius: var(--radius);
}

.map-card span {
  font-weight: 900;
}

.map-card svg {
  width: 100%;
  color: rgba(255, 255, 255, 0.16);
  fill: currentColor;
}

.map-card circle {
  fill: var(--red);
}

.map-card path:last-child {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
}

.faq-wrap {
  max-width: 900px;
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 18px 20px;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: #fff;
  font-weight: 900;
}

.faq-item button::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 1.2rem;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-item div {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.is-open div {
  display: block;
}

.faq-item p {
  margin: 0;
}

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

  .help-link {
    display: none;
  }

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

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

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

  .service-strip article:nth-child(2) {
    border-right: 0;
  }

  .offer-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout,
  .contact-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-sidebar h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding-inline: 12px;
  }

  .topbar__inner,
  .footer-bottom,
  .bulk-cta__inner,
  .shop-toolbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-main {
    min-height: 70px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    position: relative;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text {
    font-size: 1.22rem;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .main-nav__inner {
    min-height: 44px;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    padding: 0 12px;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .category-bar__inner {
    gap: 14px;
  }

  .hero,
  .page-hero--shop,
  .page-hero--about,
  .page-hero--contact {
    min-height: 460px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.7) 100%),
      url("../img/hero-packaging.svg") center bottom 20px / min(92vw, 470px) no-repeat,
      linear-gradient(135deg, #fff 0%, #eef5f7 100%);
  }

  .page-hero {
    min-height: 360px;
  }

  .hero__copy {
    width: min(100%, 340px);
    padding-block: 34px 84px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 10ch;
    font-size: 2.2rem;
    line-height: 1;
  }

  .hero p,
  .page-hero p {
    max-width: 32ch;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .hero__facts div {
    padding: 10px;
  }

  .hero__facts dt {
    font-size: 1rem;
  }

  .hero__facts dd {
    font-size: 0.75rem;
  }

  .service-strip__grid,
  .category-grid,
  .product-grid,
  .product-grid--shop,
  .footer-grid,
  .timeline-grid,
  .stats-grid,
  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .service-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 54px 0;
  }

  .shop-controls {
    width: 100%;
    flex-direction: column;
  }

  .timeline-grid article {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .image-stage {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2.05rem;
  }

  .hero__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__actions .btn {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .product-card__image {
    min-height: 160px;
  }
}
