:root {
  --red: #c91d1f;
  --ink: #252525;
  --muted: #6d6d6d;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --steel: #707070;
  --focus: #961416;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 210px;
}

.brand img {
  display: block;
  width: clamp(150px, 20vw, 230px);
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #383838;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--red);
  background: #fff0f0;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.34) 48%, rgba(10, 10, 10, 0.05)),
    url("assets/workwear-showroom.png") center / cover no-repeat;
  color: white;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 86px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.button.light {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.section {
  padding: clamp(52px, 8vw, 96px) 0;
}

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

h2 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(1.9rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fact strong {
  min-width: 150px;
}

.fact span {
  color: var(--muted);
  text-align: right;
}

.page-hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(42px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f7f5);
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.catalog {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: white;
}

.catalog-viewer {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.catalog-cover {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.catalog-cover:hover,
.catalog-cover.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 29, 31, 0.12);
}

.catalog-cover img {
  width: 94px;
  aspect-ratio: 0.71 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.catalog-cover span {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.catalog-cover small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 650;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.catalog-toolbar h3 {
  margin: 0;
  font-size: 1.12rem;
}

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

.catalog small {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.flipbook {
  display: grid;
  gap: 18px;
}

.book-stage {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: min(80vh, 860px);
  padding: clamp(18px, 3vw, 34px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.4)),
    #e9e9e6;
  perspective: 1800px;
  overscroll-behavior: contain;
}

.book-stage.is-zoomed {
  place-items: start start;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.book-stage.is-zoomed .book {
  margin: 0;
}

.book-stage.is-dragging {
  cursor: grabbing;
}

.book-stage.is-zoomed .book-hit {
  cursor: grab;
}

.book-stage.is-dragging .book-hit {
  cursor: grabbing;
}

.book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
  width: min(100%, 1120px);
  max-height: 78vh;
  aspect-ratio: 1.43 / 1;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.24));
  transform-style: preserve-3d;
  transform-origin: top center;
  transition: width 180ms ease, max-height 180ms ease;
  touch-action: pan-x pan-y;
}

.book[data-zoom="1.25"] {
  width: min(125%, 1400px);
  max-height: none;
}

.book[data-zoom="1.5"] {
  width: min(150%, 1680px);
  max-height: none;
}

.book[data-zoom="1.75"] {
  width: min(175%, 1960px);
  max-height: none;
}

.book[data-zoom="2"] {
  width: min(200%, 2240px);
  max-height: none;
}

.book.is-turning {
  animation: bookTurn 360ms ease;
}

.book.is-cover,
.book.is-single,
.book.is-end {
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 0.5fr);
}

.book-page {
  position: relative;
  overflow: hidden;
  background: white;
}

.book-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.left-page {
  border-radius: 8px 0 0 8px;
  transform-origin: right center;
}

.right-page {
  border-radius: 0 8px 8px 0;
  transform-origin: left center;
}

.book.is-cover .left-page,
.book.is-single .left-page,
.book.is-end .right-page,
.book.is-cover .book-spine,
.book.is-single .book-spine,
.book.is-end .book-spine {
  display: none;
}

.book.is-cover .right-page,
.book.is-single .right-page,
.book.is-end .left-page {
  grid-column: 2;
  border-radius: 8px;
}

.book-spine {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.65), rgba(0, 0, 0, 0.18));
}

.left-page::after,
.right-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.left-page::after {
  background: linear-gradient(90deg, transparent 78%, rgba(0, 0, 0, 0.11));
}

.right-page::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.09), transparent 22%);
}

.book-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 28%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.prev-hit {
  left: 0;
}

.next-hit {
  right: 0;
}

.book-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.book-controls .button {
  min-width: 96px;
}

.page-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--muted);
  font-weight: 650;
}

.page-status input {
  width: 74px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.zoom-controls .button {
  min-width: 44px;
  min-height: 36px;
  padding: 8px 10px;
}

.zoom-controls span {
  min-width: 50px;
  color: var(--muted);
  font-weight: 760;
  text-align: center;
}

@keyframes bookTurn {
  0% {
    transform: rotateY(0deg) translateX(0);
  }
  48% {
    transform: rotateY(-6deg) translateX(-8px);
  }
  100% {
    transform: rotateY(0deg) translateX(0);
  }
}

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

.catalog-gallery {
  display: grid;
  gap: 24px;
}

.gallery-set {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.gallery-set-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery-set-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

.gallery-set-heading a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

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

.sample-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.sample-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  background: white;
}

.sample-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.image-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 650;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-box {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.contact-row span {
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.check-field {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 720;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(201, 29, 31, 0.18);
  border-color: var(--red);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

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

.notice {
  margin-top: 28px;
  padding: 18px;
  border-left: 5px solid var(--red);
  background: #fff5f5;
  color: #5c2020;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #1f1f1f;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner strong {
  color: white;
}

@media (max-width: 820px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .menu {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .split,
  .grid,
  .form-grid,
  .catalog-list,
  .catalog-picker,
  .gallery,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .contact-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fact span {
    text-align: left;
  }

  .book-stage {
    min-height: 620px;
    padding: 14px;
  }

  .book {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 0.5fr);
    width: min(100%, 460px);
    max-height: 74vh;
    aspect-ratio: 0.71 / 1;
  }

  .book .left-page,
  .book .book-spine {
    display: none;
  }

  .book .right-page {
    grid-column: 2;
    border-radius: 8px;
  }

  .book-hit {
    width: 22%;
  }

  .book-controls .button {
    min-width: 0;
    flex: 1 1 120px;
  }

  .page-status {
    width: 100%;
    justify-content: center;
  }

  .zoom-controls {
    width: 100%;
    justify-content: center;
  }

  .catalog-cover {
    grid-template-columns: 76px 1fr;
    min-height: 128px;
  }

  .catalog-cover img {
    width: 76px;
  }
}
