:root {
  --black: #050505;
  --ink: #161616;
  --muted: #666666;
  --line: #dedede;
  --soft: #f5f5f2;
  --paper: #ffffff;
  --accent: #6f7b62;
  --accent-dark: #46503e;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(165px, auto);
  gap: 14px 24px;
  align-items: center;
  min-height: 104px;
  padding: 14px 40px 16px;
  color: var(--paper);
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 74px;
  height: 50px;
  place-items: center;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.brand-icon {
  width: 64px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1.05;
}

.brand small {
  max-width: 290px;
  color: #bdbdbd;
  font-size: 12.5px;
  line-height: 1.25;
}

.main-nav {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.main-nav a {
  min-width: 112px;
  padding: 11px 16px;
  color: #e8e8e8;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  border-color: rgba(255, 255, 255, 0.25);
}

.main-nav a.active {
  color: var(--black);
  background: var(--paper);
}

.header-phone {
  justify-self: end;
  padding: 11px 14px;
  color: var(--black);
  background: var(--paper);
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  padding: 96px 40px 84px;
  color: var(--paper);
  background-image: url("assets/hero-packaging.webp");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 48%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7dfcf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  font-size: 58px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 20px;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #ececec;
  font-size: 19px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--black);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

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

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

.button.secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.line {
  width: 100%;
  color: var(--black);
  background: var(--paper);
}

.button.line:hover,
.button.line:focus-visible {
  color: var(--paper);
  background: var(--black);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 6px;
}

.hero-metrics dt {
  color: var(--paper);
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: #d5d5d5;
  font-size: 13px;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-panel a {
  min-height: 110px;
  padding: 26px 40px;
  color: var(--paper);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel span {
  display: block;
  margin-bottom: 8px;
  color: #b7b7b7;
  font-size: 13px;
}

.quick-panel strong {
  display: block;
  max-width: 330px;
  font-size: 20px;
  line-height: 1.25;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  font-weight: 800;
}

.section {
  padding: 88px 40px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 38px;
  max-width: 1180px;
  margin: 0 auto 38px;
  align-items: end;
}

.section-heading.compact {
  display: block;
}

.section-heading h2 {
  max-width: 620px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-grid article {
  min-height: 210px;
  padding: 30px;
  background: var(--paper);
}

.intro-grid p,
.steps p,
.request-copy p {
  color: var(--muted);
  line-height: 1.65;
}

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

.subpage-hero {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 82px 40px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("assets/hero-packaging.webp") center / cover;
}

.subpage-hero div {
  width: min(1120px, 100%);
}

.subpage-hero h1 {
  max-width: 820px;
  font-size: 48px;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: #ececec;
  font-size: 18px;
  line-height: 1.6;
}

.about-hero,
.contacts-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62)),
    url("assets/catalog-glass.webp") center / cover;
}

.home-preview {
  background: var(--soft);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.home-category {
  display: grid;
  min-height: 390px;
  grid-template-rows: minmax(220px, 1fr) auto auto;
  gap: 10px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.home-category img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
  border-radius: 4px;
}

.home-category span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-category strong {
  font-size: 23px;
  line-height: 1.2;
}

.catalog-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 24px;
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.segment {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.segment.active {
  color: var(--paper);
  background: var(--black);
}

.search-field {
  display: flex;
  align-items: center;
  width: min(330px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-field span {
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.search-field input {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 0 13px 0 0;
  border: 0;
  outline: 0;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover,
.product-card:focus-within {
  border-color: #bdbdbd;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--paper);
  overflow: hidden;
}

.product-card img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-kicker {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body h3 {
  min-height: 48px;
  font-size: 19px;
}

.product-specs {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.product-specs div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px solid #ededed;
}

.product-specs dt,
.product-specs dd {
  margin: 0;
  font-size: 14px;
}

.product-specs dt {
  color: var(--muted);
}

.product-specs dd {
  font-weight: 800;
  text-align: right;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
}

.product-actions .open-product {
  color: var(--paper);
  background: var(--black);
}

.product-actions .open-product:hover,
.product-actions .open-product:focus-visible {
  color: var(--black);
  background: var(--paper);
}

.empty-state {
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.product-modal[hidden] {
  display: none;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}

.product-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(360px, 1.12fr);
  width: min(1100px, 100%);
  max-height: min(840px, calc(100vh - 56px));
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.detail-media {
  display: flex;
  min-height: 100%;
  min-width: 0;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
}

.detail-image-stage {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  place-items: center;
  background: var(--paper);
  overflow: hidden;
}

.detail-image-zoom {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 480px;
  padding: 20px;
  place-items: center;
  background: var(--paper);
  border: 0;
  cursor: zoom-in;
}

.detail-image-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible { background: var(--black); }
.gallery-arrow.previous { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-arrow[hidden],
.detail-gallery-counter[hidden],
.detail-gallery-thumbs[hidden],
.photo-lightbox-arrow[hidden],
.photo-lightbox-counter[hidden] { display: none; }

.detail-gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.detail-gallery-thumbs {
  display: flex;
  min-height: 76px;
  gap: 7px;
  padding: 10px;
  background: #171717;
  overflow-x: auto;
}

.detail-gallery-thumb {
  width: 56px;
  min-width: 56px;
  height: 56px;
  padding: 0;
  background: #303030;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.62;
}

.detail-gallery-thumb:hover,
.detail-gallery-thumb:focus-visible,
.detail-gallery-thumb.active {
  border-color: var(--paper);
  opacity: 1;
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  padding: 22px;
  place-items: center;
}

.photo-lightbox[hidden] { display: none; }

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: var(--paper);
  border: 0;
  cursor: zoom-out;
}

.photo-lightbox-viewer {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  place-items: center;
  background: var(--paper);
  pointer-events: none;
}

.photo-lightbox-image {
  display: block;
  max-width: calc(100vw - 44px);
  max-height: calc(100vh - 44px);
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: auto;
}

.photo-lightbox-close,
.photo-lightbox-arrow {
  position: absolute;
  z-index: 1;
  display: grid;
  padding: 0;
  place-items: center;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  pointer-events: auto;
}

.photo-lightbox-close {
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  font-size: 29px;
}

.photo-lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 62px;
  font-size: 42px;
  transform: translateY(-50%);
}

.photo-lightbox-arrow.previous { left: 0; }
.photo-lightbox-arrow.next { right: 0; }
.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible,
.photo-lightbox-arrow:hover,
.photo-lightbox-arrow:focus-visible { background: var(--black); }

.photo-lightbox-counter {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 7px 10px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.78);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.detail-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
  padding: 34px;
  overflow-y: auto;
}

.detail-content > * { flex-shrink: 0; }

.detail-content h2 {
  font-size: 34px;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.detail-pricing {
  flex-shrink: 0;
  color: var(--paper);
  background: var(--black);
  border-radius: 6px;
  overflow: hidden;
}

.detail-price {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #383838;
}

.detail-price span {
  color: #cfcfcf;
  font-size: 13px;
}

.detail-price strong {
  font-size: 23px;
  text-align: right;
}

.price-tier-list {
  display: grid;
}

.price-tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 11px 18px;
  border-bottom: 1px solid #2f2f2f;
}

.price-tier-row:last-child {
  border-bottom: 0;
}

.price-tier-row span {
  color: #cfcfcf;
  font-size: 14px;
}

.price-tier-row strong {
  font-size: 17px;
  text-align: right;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  flex-shrink: 0;
}

.detail-grid h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.detail-specs {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-specs div {
  display: grid;
  grid-template-columns: minmax(96px, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt,
.detail-specs dd {
  margin: 0;
  font-size: 14px;
}

.detail-specs dt {
  color: var(--muted);
}

.detail-specs dd {
  font-weight: 800;
  text-align: right;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-note {
  flex-shrink: 0;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-note strong {
  display: block;
  margin-bottom: 7px;
}

.detail-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex-shrink: 0;
  margin-top: auto;
}

.terms-section {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps article {
  min-height: 230px;
  padding: 30px;
  background: var(--paper);
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.request-copy h2 {
  max-width: 480px;
}

.request-box {
  margin-top: 26px;
  padding: 22px;
  color: var(--paper);
  background: var(--black);
  border-radius: 8px;
}

.request-box strong {
  display: block;
  margin-bottom: 12px;
}

.request-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.request-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.request-form input,
.request-form textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus,
.search-field:focus-within {
  border-color: var(--black);
  outline: 2px solid rgba(0, 0, 0, 0.08);
}

.request-form .consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.request-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--black);
}

.consent-field a,
.privacy-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

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

.breadcrumbs,
.server-product-layout,
.related-products {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--ink);
  font-weight: 800;
}

.server-product-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.server-product-media {
  display: grid;
  gap: 12px;
}

.server-product-media > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.server-product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.server-product-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.server-product-content {
  display: grid;
  gap: 20px;
}

.server-product-content h1 {
  font-size: 42px;
}

.server-product-description {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.server-product-price {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  color: var(--paper);
  background: var(--black);
  border-radius: 6px;
}

.server-product-price span {
  color: #cfcfcf;
  font-size: 13px;
}

.server-product-price strong {
  font-size: 24px;
  text-align: right;
}

.server-price-tiers {
  display: grid;
  overflow: hidden;
  color: var(--paper);
  background: var(--black);
  border-radius: 6px;
}

.server-price-tiers div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid #303030;
}

.server-price-tiers div:last-child {
  border-bottom: 0;
}

.server-price-tiers span {
  color: #cfcfcf;
}

.server-product-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.server-product-facts div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.server-product-facts dt {
  color: var(--muted);
}

.server-product-facts dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.server-product-terms h2,
.related-products h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.server-product-terms ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.server-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-products {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-products > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.related-products a {
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.privacy-content {
  max-width: 920px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 24px;
}

.privacy-content p {
  color: var(--muted);
  line-height: 1.75;
}

.company-facts-section {
  border-top: 1px solid var(--line);
}

.company-facts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.company-facts-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts-list div:nth-child(odd) {
  padding-right: 28px;
}

.company-facts-list div:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.company-facts-list dt {
  color: var(--muted);
}

.company-facts-list dd {
  margin: 0;
  font-weight: 800;
}

.company-directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.company-directory-links a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 3px;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: start;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 48px 24px;
}

.not-found-page h1 {
  font-size: 48px;
}

.not-found-page p {
  margin: 0;
  color: var(--muted);
}

.not-found-page > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contacts-section {
  color: var(--paper);
  background: var(--black);
  padding: 82px 48px;
}

.contacts-section.standalone {
  margin: 0;
}

.contacts-inner {
  display: grid;
  grid-template-columns: minmax(460px, 610px) minmax(460px, 1fr);
  gap: 56px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: center;
}

.contacts-inner h2 {
  color: var(--paper);
  font-size: 44px;
  line-height: 1.05;
}

.contacts-copy {
  display: grid;
  gap: 56px;
}

.contact-list {
  display: grid;
  gap: 44px;
  margin: 0;
  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 136px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.contact-icon {
  display: grid;
  width: 150px;
  height: 136px;
  place-items: center;
  background: #080808;
  border: 0;
  border-radius: 0;
}

.contact-icon svg {
  width: 104px;
  height: 104px;
  fill: var(--paper);
  stroke: none;
}

.contact-item span span {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

.contact-list strong {
  display: block;
  color: var(--paper);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.22;
}

.map-card {
  min-height: 622px;
  overflow: hidden;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 574px;
  border: 0;
  filter: grayscale(0.1);
}

.map-card a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  color: #d0d0d0;
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  font-weight: 800;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

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

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
  }

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

  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-panel {
    grid-template-columns: 1fr;
    grid-auto-rows: max-content;
    overflow-y: auto;
  }

  .detail-media { min-height: 340px; }
  .detail-content { overflow-y: visible; }

  .detail-image-stage {
    min-height: 340px;
    flex: 0 0 auto;
  }

  .detail-image-zoom {
    min-height: 340px;
    padding: 14px;
  }

  .section-heading,
  .contacts-inner,
  .request-section,
  .server-product-layout {
    grid-template-columns: 1fr;
  }

  .server-product-media {
    max-width: 720px;
  }

  .related-products > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .header-phone {
    justify-self: stretch;
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 680px;
    padding: 70px 18px 52px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.76) 100%);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics,
  .quick-panel,
  .intro-grid,
  .steps,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 14px;
  }

  .quick-panel a {
    min-height: 92px;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section {
    padding: 62px 18px;
  }

  .subpage-hero {
    min-height: 320px;
    padding: 58px 18px;
  }

  .subpage-hero h1 {
    font-size: 36px;
  }

  .subpage-hero p:not(.eyebrow) {
    font-size: 16px;
  }

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

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

  .search-field {
    width: 100%;
  }

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

  .server-product-content h1 {
    font-size: 34px;
  }

  .server-product-price {
    align-items: start;
    flex-direction: column;
  }

  .server-product-price strong {
    text-align: left;
  }

  .related-products > div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }

  .site-footer > div {
    justify-content: flex-start;
  }

  .home-category {
    min-height: 320px;
  }

  .product-modal {
    align-items: stretch;
    padding: 0;
  }

  .product-modal-panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .detail-content {
    padding: 24px 18px;
  }

  .detail-content h2 {
    font-size: 28px;
  }

  .detail-price,
  .detail-grid,
  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-price {
    display: grid;
  }

  .detail-price strong {
    text-align: left;
  }

  .request-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .request-form {
    padding: 20px;
  }

  .company-facts-list {
    grid-template-columns: 1fr;
  }

  .company-facts-list div:nth-child(odd),
  .company-facts-list div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .contacts-section {
    padding: 58px 18px;
  }

  .contacts-copy {
    gap: 34px;
  }

  .contacts-inner h2 {
    font-size: 34px;
  }

  .contact-list {
    gap: 28px;
  }

  .contact-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    min-height: 92px;
  }

  .contact-icon {
    width: 82px;
    height: 92px;
  }

  .contact-icon svg {
    width: 58px;
    height: 58px;
  }

  .contact-item span span {
    font-size: 23px;
  }

  .contact-list strong {
    font-size: 19px;
  }

  .map-card {
    min-height: 368px;
  }

  .map-card iframe {
    height: 320px;
  }

  .site-footer {
    display: grid;
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .brand {
    align-items: flex-start;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .segmented {
    grid-template-columns: 1fr;
  }
}
