/* =====================================================
   PrintBox styles
   One shared visual system for all pages
===================================================== */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #6b7280;
  --color-soft: #f5f6f7;
  --color-soft-2: #f9fafb;
  --color-line: rgba(0, 0, 0, 0.08);
  --color-black: #0b0b0b;
  --color-white: #ffffff;

  --container: 1120px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 18px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  appearance: none;
}

button:disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}

input,
textarea {
  color: var(--color-text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}
.text-muted {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.65;
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}

.heading {
  margin: 0;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.heading--xl {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(40px, 6vw, 56px);
}
.heading--lg {
  font-size: clamp(34px, 4.4vw, 46px);
}
.heading--md {
  font-size: clamp(24px, 3vw, 28px);
}

.lead {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Shared motion */
.button,
.category-card,
.product-card,
.info-card,
.value-card,
.review-card,
.portfolio-card,
.filter-tab,
.option,
.upload-button,
.cart-link,
.link-button,
.socials__link {
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.button:hover,
.category-card:hover,
.product-card:hover,
.info-card:hover,
.value-card:hover,
.review-card:hover,
.portfolio-card:hover,
.filter-tab:hover,
.option:hover,
.upload-button:hover,
.cart-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.button:focus-visible,
.category-card:focus-visible,
.product-card:focus-visible,
.filter-tab:focus-visible,
.option:focus-visible,
.upload-button:focus-visible,
.cart-link:focus-visible,
.link-button:focus-visible,
.nav__link:focus-visible,
.socials__link:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.category-card__media img,
.product-card__media img,
.portfolio-card img,
.split-block__media img,
.product-layout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.category-card:hover .category-card__media img,
.product-card:hover .product-card__media img,
.portfolio-card:hover img,
.split-block__media:hover img,
.product-layout__media:hover img {
  transform: scale(1.04);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-black);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.brand__name {
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  white-space: nowrap;
  font-size: 13px;
}

.nav__link {
  position: relative;
  padding: 7px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-black);
  transition: width 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.cart-link {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cart-link:hover {
  background: var(--color-soft);
}

.cart-link__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-black);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: 11px;
  line-height: 1;
}

/* Buttons */
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.actions--center {
  justify-content: center;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

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

.button--secondary {
  background: var(--color-white);
}
.button--light {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-text);
}
.button--wide {
  min-width: 240px;
}
.button--full {
  width: 100%;
}
.button--tall {
  min-height: 54px;
}
.button__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 13px;
}
.link-button:hover {
  color: var(--color-text);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 56px 0;
}
.section--compact {
  padding: 40px 0;
}
.section--catalog {
  padding-top: 18px;
}
.section-head {
  margin-bottom: 22px;
}
.section-head__text {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  padding: 46px 0 20px;
}
.page-hero--center {
  text-align: center;
  padding-top: 70px;
}
.page-hero__lead {
  max-width: 620px;
}
.page-hero--center .page-hero__lead {
  margin-inline: auto;
}
.page-hero__lead--wide {
  max-width: 780px;
}

.hero-section {
  padding: 70px 0 38px;
}
.hero-section__lead {
  max-width: 560px;
  margin-inline: auto;
}
.hero-section__actions {
  margin-top: 20px;
}

/* Cards and grids */
.category-grid,
.benefit-grid,
.value-grid,
.review-grid,
.product-grid,
.portfolio-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
  gap: 16px;
}
.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
}
.value-grid {
  grid-template-columns: repeat(4, 1fr);
}
.review-grid {
  grid-template-columns: repeat(3, 1fr);
}
.product-grid {
  grid-template-columns: repeat(3, 1fr);
}
.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}
.stats-grid--center .stat-card {
  text-align: center;
}

.category-card,
.product-card,
.info-card,
.value-card,
.review-card,
.portfolio-card,
.panel,
.mission-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.head-card {
  border: 1px solid var(--color-line);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.category-card {
  min-width: 0;
  padding: 14px;
  background: var(--color-soft-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.category-card__media {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eef0f2;
}
.category-card__title {
  font-size: 12px;
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  display: grid;
}
.product-card[hidden],
.portfolio-card[hidden] {
  display: none;
}
.product-card__media {
  height: 170px;
  overflow: hidden;
  background: #eef0f2;
}
.product-card__body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
}
.product-card__title {
  font-size: 15px;
  font-weight: 900;
}
.product-card__description {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}
.product-card__price {
  font-size: 12px;
  font-weight: 900;
}

.portfolio-card {
  height: 190px;
  overflow: hidden;
  background: #eef0f2;
}

.info-card,
.value-card,
.review-card {
  padding: 20px 18px;
  text-align: center;
}

.info-card {
  min-height: 180px;
  display: grid;
  justify-items: center;
  align-content: start;
}
.info-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--color-soft);
  display: grid;
  place-items: center;
}
.info-card__title,
.value-card__title,
.review-card__name {
  margin: 0;
  font-weight: 900;
}
.info-card__text,
.value-card__text,
.review-card__text {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

.value-card__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--color-black);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.value-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.review-card {
  text-align: left;
}
.review-card__stars {
  color: var(--color-text);
  letter-spacing: 2px;
  font-size: 14px;
}
.review-card__text {
  margin: 10px 0 12px;
}
.review-card__role {
  margin: 2px 0 0;
  color: var(--color-muted);
  font-size: 11px;
}

.stat-card {
  display: grid;
  gap: 4px;
}
.stat-card strong {
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card span {
  color: var(--color-muted);
  font-size: 12px;
}

/* Steps */
.steps-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step-card {
  text-align: center;
}
.step-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: var(--color-black);
  display: grid;
  place-items: center;
}
.step-card__label {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}
.step-card__title {
  margin: 6px 0;
  font-size: 16px;
  font-weight: 900;
}
.step-card__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Split blocks */
.split-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.split-block--reversed {
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 130px;
}
.split-block--image-first {
  grid-template-columns: 0.95fr 1.05fr;
}
.split-block__media {
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  background: #eef0f2;
}
.split-block__media img {
  border-radius: 0;
}

.check-list {
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--color-muted);
  font-size: 13px;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.check-list li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e9f7ef;
  color: var(--color-text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mission-card {
  padding: 28px 22px;
  background: var(--color-soft);
  box-shadow: none;
}
.mission-card__text {
  max-width: 820px;
  margin: 10px auto 0;
}

/* CTA */
.cta-section {
  padding: 34px 0;
  background: var(--color-black);
  color: var(--color-white);
}
.cta-section__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
}
.cta-section__text {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.6;
}

/* Filters and search */
.toolbar-section {
  padding: 16px 0 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  width: 520px;
  max-width: 100%;
  display: block;
}
.search-field__input {
  width: 100%;
  min-height: 42px;
  padding: 0 16px 0 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: var(--color-white);
}
.search-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-tabs--left {
  justify-content: flex-start;
}
.filter-tab {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-text);
  cursor: pointer;
  font-size: 13px;
}
.filter-tab.is-active {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}
.empty-state {
  margin: 24px 0 0;
  color: var(--color-muted);
  text-align: center;
}

/* Product detail */
.product-section {
  padding-top: 44px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.product-layout__media {
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #eef0f2;
}
.configurator {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}
.option-group {
  margin: 0;
  padding: 0;
  border: 0;
}
.option-group__title {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.option-group__grid {
  display: grid;
  gap: 10px;
}
.option-group__grid--two {
  grid-template-columns: repeat(2, 1fr);
}
.option {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.option.is-active {
  outline: 2px solid var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-2px);
}
.upload-button {
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.price-row__label {
  color: var(--color-muted);
  font-size: 12px;
}
.price-row__value {
  font-size: 36px;
  letter-spacing: -0.03em;
}

/* Forms, contacts, checkout */
.panel {
  padding: 18px;
}
.panel__title {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.panel__title--compact {
  margin-bottom: 0;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.field--last {
  margin-bottom: 0;
}
.field__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field__control {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: var(--color-white);
}
.field__control--textarea {
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
}
.field__error {
  min-height: 16px;
  color: #dc2626;
  font-size: 12px;
  line-height: 1.35;
  display: none;
}
.field.is-invalid .field__label {
  color: #b91c1c;
}
.field.is-invalid .field__control {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.field.is-invalid .field__error {
  display: block;
}
.form-alert {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 14px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.contact-item:last-of-type {
  border-bottom: 0;
}
.contact-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: var(--color-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.contact-item__title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}
.contact-item__text {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}
.map-box {
  height: 300px;
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  background: #eef0f2;
}
.map-box__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.question-strip {
  margin-top: 40px;
  padding: 26px 0;
  background: var(--color-soft-2);
}
.question-strip__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}
.question-strip__text {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}
.checkout-layout__forms {
  display: grid;
  gap: 14px;
}
.order-summary__head {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.order-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.order-item:first-child {
  padding-top: 0;
}
.order-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.order-item__left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.order-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #eef0f2;
  flex-shrink: 0;
}
.order-item__placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eef0f2;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.order-item__name {
  margin: 0 0 4px;
  font-weight: 900;
}
.order-item__meta,
.order-item__file {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}
.order-item__file {
  margin-top: 6px;
}
.order-item__right {
  min-width: 96px;
  text-align: right;
}
.order-item__price {
  margin-bottom: 8px;
  font-weight: 900;
}
.divider {
  height: 1px;
  margin: 12px 0;
  background: rgba(0, 0, 0, 0.06);
}
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.summary-row {
  margin: 8px 0;
  color: var(--color-muted);
  font-size: 12px;
}
.summary-row strong {
  color: var(--color-text);
}
.summary-total {
  align-items: flex-end;
  font-weight: 900;
}
.summary-total strong {
  font-size: 28px;
}
.delivery-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.delivery-note p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}
.delivery-note strong {
  color: var(--color-text);
}
.checkout-empty {
  padding: 8px 0 4px;
}
.checkout-empty__title {
  margin: 0 0 6px;
  font-weight: 900;
}
.checkout-empty__text {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 32px 0 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafafa;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.site-footer__note {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.site-footer__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
}
.site-footer__links,
.footer__contacts {
  display: grid;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
}
.site-footer__links a {
  width: fit-content;
  transition:
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.site-footer__links a:hover {
  color: var(--color-text);
  transform: translateX(3px);
}
.footer__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__contact img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.socials {
  display: flex;
  gap: 10px;
  align-items: center;
}
.socials__link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.socials__link:hover {
  transform: scale(1.08);
  opacity: 0.82;
}
.site-footer__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-muted);
  font-size: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefit-grid,
  .steps-grid,
  .review-grid,
  .product-layout,
  .contact-layout,
  .checkout-layout,
  .split-block,
  .split-block--reversed,
  .split-block--image-first {
    grid-template-columns: 1fr;
  }
  .value-grid,
  .product-grid,
  .portfolio-grid,
  .stats-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toolbar {
    align-items: flex-start;
  }
  .filter-tabs {
    justify-content: flex-start;
  }
  .split-block--reversed {
    margin-top: 46px;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .hero-section {
    padding-top: 48px;
  }
  .actions,
  .price-row {
    align-items: stretch;
    flex-direction: column;
  }
  .button--wide,
  .hero-section__actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 44px 0;
  }
  .category-grid,
  .value-grid,
  .product-grid,
  .portfolio-grid,
  .stats-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .order-summary__head,
  .order-item {
    flex-direction: column;
    align-items: stretch;
  }
  .order-item__right {
    min-width: 0;
    text-align: left;
  }
  .option-group__grid--two {
    grid-template-columns: 1fr;
  }
  .product-layout__media,
  .split-block__media,
  .map-box,
  .portfolio-card {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================
   Mobile header / burger menu polish
===================================================== */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-text);
  display: none;
  place-content: center;
  place-items: center;
  row-gap: 4px;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.18);
  outline-offset: 3px;
}

.menu-toggle__line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.site-header.is-open .menu-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    position: relative;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand__name {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .cart-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-line);
    background: var(--color-white);
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-height: min(70vh, 360px);
    padding: 8px;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    display: grid;
    gap: 4px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.22s var(--ease),
      visibility 0.22s var(--ease),
      transform 0.22s var(--ease);
    z-index: 30;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__link {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.is-active {
    background: var(--color-soft);
  }

  .page-hero,
  .page-hero--center {
    padding: 34px 0 12px;
  }

  .hero-section {
    padding: 46px 0 30px;
  }

  .heading--xl {
    font-size: clamp(34px, 11vw, 44px);
  }

  .heading--lg {
    font-size: clamp(30px, 9vw, 38px);
  }

  .section-head {
    margin-bottom: 18px;
  }

  .toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-field {
    width: 100%;
  }

  .filter-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .site-footer {
    padding-bottom: 22px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header__inner {
    min-height: 60px;
  }

  .brand__logo {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .menu-toggle,
  .cart-link {
    width: 38px;
    height: 38px;
  }

  .site-header__actions {
    gap: 8px;
  }

  .nav {
    left: 14px;
    right: 14px;
  }

  .section,
  .section--compact {
    padding: 38px 0;
  }

  .category-card,
  .product-card,
  .info-card,
  .value-card,
  .review-card,
  .panel,
  .mission-card {
    border-radius: 16px;
  }

  .panel {
    padding: 16px;
  }

  .actions,
  .price-row,
  .summary-row,
  .summary-total {
    gap: 10px;
  }

  .button,
  .filter-tab,
  .field__control {
    min-height: 44px;
  }

  .button--tall {
    min-height: 52px;
  }

  .product-layout__media,
  .split-block__media,
  .map-box,
  .portfolio-card {
    height: 220px;
  }

  .price-row__value {
    font-size: 30px;
  }

  .order-item__left {
    min-width: 0;
  }

  .order-item__name,
  .order-item__meta,
  .order-item__file {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand__name {
    max-width: 96px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .menu-toggle,
  .cart-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .heading--xl {
    font-size: 32px;
  }

  .heading--lg {
    font-size: 28px;
  }

  .lead,
  .text-muted,
  .section-head__text {
    font-size: 14px;
  }
}
