/* =====================================================
   Уральский носочный цех — адаптивная вёрстка
   ===================================================== */

/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-font-smoothing: antialiased;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Helvetica, sans-serif;
  color: #070707;
  line-height: 1.4;
}

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

button {
  font: inherit;
  color: inherit;
}

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

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

/* ---------- Page wrapper ---------- */

.landing {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
}

.landing > * {
  width: 100%;
}

/* =====================================================
   HERO
   ===================================================== */

.hero-block {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.5vw, 20px);
  padding: clamp(10px, 3vw, 20px) 0 0;
}

.hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(16px, 2.5vw, 50px);
  padding: 0 clamp(20px, 2.6vw, 50px);
}

.hero-logo {
  display: inline-block;
  color: #000;
}

.hero-logo-img {
  display: block;
  width: 120px;
  height: auto;
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 64px);
  margin-top: clamp(8px, 1.8vw, 34px);
}

.hero-nav a {
  position: relative;
  display: inline-block;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 3vw, 56px);
  line-height: 1;
  color: #070707;
}

.hero-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.hero-nav a:hover::after,
.hero-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero-nav a:focus-visible {
  outline: none;
}

.hero-heading-wrap {
  padding: 0 clamp(20px, 2.6vw, 50px);
}

.hero-title {
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4vw, 80px);
  line-height: 1.13;
  color: #070707;
}

.hero-title-mobile-break {
  display: none;
}

.about-desktop-break {
  display: initial;
}

.order-lead-mobile-break {
  display: none;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 636;
  min-height: 320px;
  margin-bottom: 120px;
}

.hero-mountain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cta,
.hero-slogan {
  position: absolute;
  z-index: 1;
}

.hero-slogan {
  top: clamp(16px, 6.3%, 60px);
  right: clamp(16px, 3.1%, 60px);
  margin: 0;
  max-width: min(40%, 320px);
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 0.92;
  text-align: right;
  color: #070707;
}

.hero-cta {
  top: clamp(14px, 4.7%, 40px);
  left: clamp(20px, 3vw, 60px);
  width: min(30%, 400px);
  min-height: clamp(48px, 6.7%, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #bb8d35;
  color: #fff;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 48px);
  line-height: 1;
  padding: 8px 16px;
  transition: background-color 0.2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: #a6792a;
}

/* =====================================================
   CATALOG
   ===================================================== */

.catalog-block {
  position: relative;
  background: #01453e;
  overflow: hidden;
  padding: clamp(40px, 5vw, 96px) clamp(20px, 3vw, 56px);
}

.catalog-bg-layer {
  position: absolute;
  inset: 0;
  background: #01453e;
  z-index: 0;
}

.catalog-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.catalog-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 2.4vw, 48px);
}

/* ---- Visual (the half-circle with the sock) ---- */

.catalog-visual {
  position: relative;
  /* Slightly taller than wide so the big circle fits vertically without being clipped top/bottom */
  aspect-ratio: 4 / 5;
  /* The circle is bigger than the column and spills out to the left */
  --circle-size: 150%;
  --circle-offset-x: -37%;
}

.catalog-ring,
.catalog-ring-outline {
  position: absolute;
  top: 50%;
  left: -15%;
  width: var(--circle-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translate(var(--circle-offset-x), -50%);
}

.catalog-ring {
  background: #bb8d35;
}

.catalog-ring-outline {
  width: calc(var(--circle-size) - 1.4%);
  border: clamp(4px, 0.6vw, 9px) dashed #01453e;
  background: transparent;
}

.catalog-ring-pattern,
.catalog-sock {
  position: absolute;
  top: 50%;
  object-fit: contain;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.catalog-ring-pattern {
  left: 0;
  width: var(--catalog-pattern-width, 90%);
  transform: translate(-12%, -50%);
}

.catalog-visual[data-slide="1"] {
  --catalog-pattern-width: 90%;
}

.catalog-visual[data-slide="2"] {
  --catalog-pattern-width: 70%;
}

.catalog-visual[data-slide="3"] {
  --catalog-pattern-width: 74%;
}

.catalog-visual[data-slide="4"] {
  --catalog-pattern-width: 62%;
}

.catalog-visual[data-slide="5"] {
  --catalog-pattern-width: 76%;
}

.catalog-visual[data-slide="6"] {
  --catalog-pattern-width: 66%;
}

.catalog-sock {
  width: 50%;
  height: var(--catalog-sock-height, auto);
  max-width: 100%;
  max-height: 100%;
  transform: translateY(-50%);
}

.catalog-visual[data-slide="1"] .catalog-sock {
  left: -11%;
  width: 73%;
  height: auto;
  aspect-ratio: 1 / 1;
}


.catalog-visual[data-slide="2"] .catalog-sock {
  left: -12%;
  width: 83%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.catalog-visual[data-slide="3"] .catalog-sock {
  left: -18%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.catalog-visual[data-slide="4"] .catalog-sock {
  left: -20%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.catalog-visual[data-slide="5"] .catalog-sock {
  left: -20%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.catalog-visual[data-slide="6"] .catalog-sock {
  left: -18%;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* ---- Text column ---- */

.catalog-text {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 28px);
  color: #f8f8f8;
}

.catalog-text h2,
.catalog-text h3 {
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1;
}

.catalog-text h2 {
  font-size: clamp(48px, 4.4vw, 84px);
  margin-bottom: clamp(50px, 6.2vw, 100px);
}

.catalog-text h3 {
  font-size: clamp(50px, 4.5vw, 80px);
}

.catalog-text p:not(.catalog-sku) {
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2vw, 40px);
  line-height: 1.1;
  color: #f8f8f8;
}

.catalog-sku {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  min-height: clamp(44px, 3.2vw, 61px);
  margin: 0;
  padding: 0 clamp(16px, 1.9vw, 36px);
  background: #bb8d35;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 48px);
  color: #01453e;
  white-space: nowrap;
}

.catalog-text h3,
.catalog-text p:not(.catalog-sku),
.catalog-sku {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.catalog-order-btn {
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 480px);
  min-height: clamp(60px, 5.2vw, 100px);
  margin-top: clamp(20px, 3vw, 60px);
  padding: 8px 16px;
  border: 3px solid #bb8d35;
  background: transparent;
  color: #fff;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 3.3vw, 64px);
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.catalog-order-btn:hover,
.catalog-order-btn:focus-visible {
  background: #bb8d35;
}

.catalog-order-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---- Aside (dots + next button) ---- */

.catalog-aside {
  display: grid;
  align-items: flex-end;
  justify-content: end;
  align-self: end;
  gap: clamp(300px, 5vw, 450px);
  /* padding: clamp(20px, 3vw, 60px) 0; */
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: auto;
  margin-bottom: auto;
  align-items: end;
}

.catalog-controls .dot {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #f8f8f8;
  cursor: pointer;
  padding: 0;
  transform: scale(0.9);
  transition: background-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.catalog-controls.is-dragging .dot {
  transition: none;
}

.catalog-controls .dot.is-active {
  background: #bb8d35;
  opacity: 1;
  transform: scale(1.2);
}

.catalog-next {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 0;
  margin-bottom: 0;
  width: clamp(72px, 8vw, 161px);
  height: clamp(40px, 4.4vw, 83px);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.catalog-next img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.catalog-drag-ghost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 641px) {
  .catalog-visual.is-desktop-switching .catalog-ring,
  .catalog-visual.is-desktop-switching .catalog-ring-outline {
    animation: catalogCircleReveal 0.56s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .catalog-visual.is-desktop-switching .catalog-ring-pattern {
    animation: catalogPatternReveal 0.56s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .catalog-visual.is-desktop-switching .catalog-sock {
    animation: catalogSockReveal 0.56s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .catalog-visual.is-desktop-switching[data-direction="next"] .catalog-ring,
  .catalog-visual.is-desktop-switching[data-direction="next"] .catalog-ring-outline {
    animation-name: catalogCircleRevealFromTopRight;
  }

  .catalog-visual.is-desktop-switching[data-direction="next"] .catalog-ring-pattern {
    animation-name: catalogPatternRevealFromTopRight;
  }

  .catalog-visual.is-desktop-switching[data-direction="next"] .catalog-sock {
    animation-name: catalogSockRevealFromTopRight;
  }
}

@keyframes catalogCircleReveal {
  0% {
    opacity: 0.82;
    transform: translate(calc(var(--circle-offset-x) - 36px), calc(-50% + 26px)) rotate(-9deg) scale(0.985);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(var(--circle-offset-x), -50%) rotate(0deg) scale(1);
  }
}

@keyframes catalogCircleRevealFromTopRight {
  0% {
    opacity: 0.82;
    transform: translate(calc(var(--circle-offset-x) + 36px), calc(-50% + 26px)) rotate(9deg) scale(0.985);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(var(--circle-offset-x), -50%) rotate(0deg) scale(1);
  }
}

@keyframes catalogPatternReveal {
  0% {
    opacity: 0.78;
    transform: translate(calc(-12% - 22px), calc(-50% + 18px)) rotate(-8deg) scale(0.985);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-12%, -50%) rotate(0deg) scale(1);
  }
}

@keyframes catalogPatternRevealFromTopRight {
  0% {
    opacity: 0.78;
    transform: translate(calc(-12% + 22px), calc(-50% + 18px)) rotate(8deg) scale(0.985);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-12%, -50%) rotate(0deg) scale(1);
  }
}

@keyframes catalogSockReveal {
  0% {
    opacity: 0.78;
    transform: translate(-22px, calc(-50% + 18px)) rotate(-8deg) scale(0.985);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%) rotate(0deg) scale(1);
  }
}

@keyframes catalogSockRevealFromTopRight {
  0% {
    opacity: 0.78;
    transform: translate(22px, calc(-50% + 18px)) rotate(8deg) scale(0.985);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%) rotate(0deg) scale(1);
  }
}

/* =====================================================
   ABOUT
   ===================================================== */

.about-block {
  position: relative;
  background: #01453e;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  background: #01453e;
  z-index: 0;
}

.about-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
  padding: clamp(85px, 4vw, 100px) clamp(20px, 2.8vw, 54px);
}

.about-title {
  margin: 0 0 clamp(24px, 3vw, 48px);
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 5vw, 96px);
  line-height: 1;
  color: #f8f8f8;
  text-align: center;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.7vw, 30px);
}

.about-row {
  display: grid;
  gap: clamp(18px, 1.7vw, 30px);
  align-items: stretch;
}

/* Asymmetric layout: top row has narrower-left + wider-right,
   bottom row swaps it (wider-left + narrower-right) */
.about-row-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.about-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  --about-card-height: clamp(300px, 22vw, 430px);
  --about-art-size: clamp(140px, 26%, 250px);
  height: var(--about-card-height);
  padding: 0;
  border-radius: 17px;
  overflow: hidden;
  isolation: isolate;
}

.about-card-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(123, 255, 211, 0.05) 0%, rgba(1, 69, 62, 0.16) 100%);
  box-shadow:
    inset 0 4px 5.7px #ffffff26,
    0 4px 8.3px #00000040;
  pointer-events: none;
}

.about-card-panel-alt {
  background: linear-gradient(180deg, rgba(123, 255, 211, 0.06) 0%, rgba(1, 69, 62, 0.16) 100%);
  box-shadow:
    inset 0 4px 5.7px #ffffff26,
    inset 0 4px 4px #00000040,
    0 4px 8.3px #00000040;
}

.about-card-panel::before,
.about-card-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-card-panel::before {
  background:
    radial-gradient(120% 85% at 78% 82%, rgba(123, 255, 211, 0.18) 0%, rgba(123, 255, 211, 0) 62%),
    radial-gradient(75% 70% at 58% 66%, rgba(233, 182, 85, 0.14) 0%, rgba(233, 182, 85, 0) 70%);
  box-shadow:
    inset 0 0 0 1px rgba(123, 255, 211, 0.34),
    inset 0 0 18px rgba(123, 255, 211, 0.2),
    inset 0 0 36px rgba(123, 255, 211, 0.12);
}

.about-card-panel::after {
  background: radial-gradient(95% 85% at 78% 82%, rgba(123, 255, 211, 0.1) 0%, rgba(123, 255, 211, 0) 70%);
}

.about-card:hover .about-card-panel::before,
.about-card:focus-within .about-card-panel::before {
  opacity: 1;
}

.about-card:hover .about-card-panel::after,
.about-card:focus-within .about-card-panel::after {
  opacity: 0.75;
}

.about-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: clamp(16px, 1.6vw, 32px);
}

.about-card-text {
  margin: 0;
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.32;
  color: #f8f8f8;
  min-height: 9.2em;
  max-height: 9.2em;
  overflow: visible;
}

.about-card-text strong {
  font-weight: 600;
}

.about-accent {
  color: #e8b655;
}

.about-accent-alt {
  color: #e9b655;
}

.about-card-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  --illustration-scale: 0.68;
  --illustration-offset-x: 0px;
  --illustration-offset-y: 0px;
  z-index: 1;
  pointer-events: none;
}

.about-ellipse-wrap {
  position: relative;
  width: var(--about-art-size);
  /* height: var(--about-art-size); */
  display: grid;
  place-items: center;
}


.about-ellipse-wrap {
  position: relative;
  display: inline-block; /* размер контейнера = размер ellipse */
}

.about-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: scale(0.8);
}

.about-ellipse {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.green-block {
  background: #01453e; 
  height: 150px;
}

/* .about-card-one .about-illustration {
  --illustration-scale: 0.7;
  --illustration-offset-x: -2px;
  --illustration-offset-y: 2px;
}

.about-card-two .about-illustration {
  --illustration-scale: 0.7;
  --illustration-offset-x: 2px;
  --illustration-offset-y: 2px;
}

.about-card-three .about-illustration {
  --illustration-scale: 0.9;
  --illustration-offset-x: 0px;
  --illustration-offset-y: 8px;
}

.about-card-four .about-illustration {
  --illustration-scale: 0.52;
  --illustration-offset-x: 0px;
  --illustration-offset-y: 10px;
} */

/* Divider band between about and order */
.about-divider {
  background: #02433c;
  min-height: clamp(80px, 11vw, 220px);
}

/* =====================================================
   ORDER
   ===================================================== */

.order-block {
  position: relative;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.4vw, 48px);
  padding: clamp(36px, 4vw, 80px) clamp(20px, 2.8vw, 54px) clamp(48px, 5vw, 96px);
}

.order-title {
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 5vw, 96px);
  line-height: 1;
  color: #070707;
  text-align: center;
}

.order-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 28px);
  max-width: 1620px;
}

.order-lead {
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 3.4vw, 64px);
  line-height: 1;
  color: #070707;
}

.order-description {
  margin: 0;
  max-width: 1620px;
  font-family: "Inter", Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 32px);
  line-height: 1.35;
  color: #070707;
}

/* ---- Showcase: gallery + decorative figure ---- */

.order-showcase {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(clamp(150px, 13vw, 240px), auto);
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(20px, 3vw, 60px);
  row-gap: 0;
}

.order-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 33px);
  width: 100%;
  max-width: 716px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: end;
  z-index: 2;
}

.order-gallery img {
  width: 100%;
  aspect-ratio: 266 / 353;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.order-gallery img:hover,
.order-gallery img:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.order-gallery img:focus-visible {
  outline: 2px solid #bb8d35;
  outline-offset: 3px;
}

body.is-zoom-open {
  overflow: hidden;
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: background-color 0.22s ease, opacity 0.22s ease;
  padding: clamp(14px, 3vw, 36px);
}

.image-zoom-overlay.is-open {
  background: rgba(0, 0, 0, 0.72);
  opacity: 1;
  pointer-events: auto;
}

.image-zoom-content {
  max-width: min(94vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
  transform: scale(0.9);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-zoom-overlay.is-open .image-zoom-content {
  transform: scale(1);
}

/* ---- Decorative figure ---- */

.order-hero-figure {
  position: relative;
  width: 84%;
  max-width: 554px;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  z-index: 2;
}

.order-hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Samples band ---- */

.order-samples {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100%;
  /* padding: clamp(22px, 2vw, 46px) clamp(16px, 2.6vw, 50px) clamp(10px, 0.9vw, 16px); */
  padding: 0;
  grid-column: 1 / -1;
  grid-row: 2;
}

.order-samples-bg {
  position: absolute;
  inset: 0 calc(-1 * clamp(20px, 2.8vw, 54px));
  background: #01453e;
}

.order-samples-title {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 128px);
  line-height: 1;
  color: #f8f8f8;
  text-align: right;
}

/* ---- VK button ---- */

.order-vk-btn {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 28px);
  width: min(100%, 490px);
  min-height: clamp(72px, 5.7vw, 110px);
  padding: 6px clamp(16px, 2vw, 40px);
  background: #bb8d35;
  transition: background-color 0.2s ease;
}

.order-vk-btn:hover,
.order-vk-btn:focus-visible {
  background: #a6792a;
}

.order-vk-btn:focus-visible {
  outline: 2px solid #070707;
  outline-offset: 4px;
}

.order-vk-icon {
  width: clamp(40px, 3.8vw, 73px);
  height: auto;
}

.order-vk-text {
  font-family: "Amatic SC", Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 64px);
  line-height: 1;
  color: #fff;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* Tablet — collapse catalog and order showcases */
@media (max-width: 1100px) {
  .about-desktop-break {
    display: none;
  }

  .catalog-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "text"
      "aside";
    align-items: stretch;
  }

  .catalog-visual {
    grid-area: visual;
    aspect-ratio: 1.4 / 1;
    --circle-size: 80%;
    --circle-offset-x: -25%;
  }

  .catalog-text {
    grid-area: text;
  }

  .catalog-aside {
    grid-area: aside;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .catalog-controls {
    flex-direction: row;
  }

  .order-showcase {
    grid-template-rows: auto minmax(clamp(142px, 20vw, 204px), auto);
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: end;
  }

  .order-gallery {
    max-width: 560px;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .order-hero-figure {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: end;
    width: 70%;
    margin-bottom: 0;
  }

  .order-samples {
    grid-column: 1;
    grid-row: 2;
  }
}

/* =====================================================
   TABLET — dedicated polish (641px … 1100px)
   Portrait + landscape tablets (iPad 768/810/834/1024 etc.)
   ===================================================== */
@media (min-width: 641px) and (max-width: 1100px) {

  /* ---------- HERO ---------- */
  .hero-block {
    gap: clamp(28px, 4vw, 48px);
    padding: clamp(28px, 4vw, 48px) 0 0;
  }

  .hero-header {
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
  }

  .hero-logo-img {
    width: clamp(120px, 18vw, 166px);
  }

  .hero-nav {
    margin-top: 0;
    gap: clamp(28px, 5vw, 56px);
  }

  .hero-nav a {
    font-size: clamp(38px, 6vw, 52px);
  }

  .hero-title {
    font-size: clamp(48px, 7.4vw, 80px);
    line-height: 1.1;
  }

  /* Taller media block so the slogan and CTA have room and never overlap */
  .hero-media {
    aspect-ratio: 16 / 9;
    min-height: clamp(340px, 46vw, 460px);
    margin-bottom: clamp(72px, 9vw, 110px);
  }

  .hero-slogan {
    max-width: min(32%, 300px);
    font-size: clamp(26px, 3.6vw, 40px);
    top: clamp(18px, 5%, 44px);
    right: clamp(18px, 3.5%, 44px);
  }

  .hero-cta {
    top: auto;
    bottom: clamp(-66px, -8%, -56px);
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 460px);
    min-height: clamp(58px, 8vw, 72px);
    font-size: clamp(30px, 4.4vw, 44px);
  }

  .green-block {
    height: 10px;
  }

  /* ---------- CATALOG ---------- */
  /* Keep the desktop slider engine (arrow button), but lay it out
     as: big centered visual on top, text below, controls in a row. */
  .catalog-block {
    padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 56px);
  }

  .catalog-content {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "catalog-title catalog-title"
      "visual aside"
      "catalog-name catalog-name"
      "catalog-description catalog-description"
      "catalog-sku catalog-sku"
      "catalog-order catalog-order";
    justify-items: stretch;
    align-items: stretch;
    gap: clamp(28px, 4vw, 44px);
  }

  .catalog-visual {
    grid-area: visual;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    margin-inline: 0;
    overflow: hidden;
    touch-action: pan-y;
    /* Center the circle inside the column on tablet */
    --circle-size: min(86%, 460px);
    --circle-offset-x: -50%;
    --catalog-sock-offset-x: 0px;
  }

  .catalog-ring,
  .catalog-ring-outline {
    top: 50%;
    left: 50%;
  }

  .catalog-ring-pattern {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .catalog-visual[data-slide] .catalog-sock {
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--catalog-sock-offset-x, 0px)), -50%);
  }

  .catalog-visual[data-slide="1"] .catalog-sock { width: 66%; }
  .catalog-visual[data-slide="2"] .catalog-sock { width: 74%; }
  .catalog-visual[data-slide="3"] .catalog-sock { width: 78%; }
  .catalog-visual[data-slide="4"] .catalog-sock { width: 78%; }
  .catalog-visual[data-slide="5"] .catalog-sock { width: 78%; }
  .catalog-visual[data-slide="6"] .catalog-sock { width: 76%; }

  .catalog-visual[data-slide="1"] {
    --catalog-pattern-width: 56%;
    --catalog-sock-offset-x: 0px;
  }
  .catalog-visual[data-slide="2"] {
    --catalog-pattern-width: 54%;
    --catalog-sock-offset-x: 0px;
  }
  .catalog-visual[data-slide="3"] {
    --catalog-pattern-width: 52%;
    --catalog-sock-offset-x: 15px;
  }
  .catalog-visual[data-slide="4"] {
    --catalog-pattern-width: 48%;
    --catalog-sock-offset-x: 20px;
  }
  .catalog-visual[data-slide="5"] {
    --catalog-pattern-width: 56%;
    --catalog-sock-offset-x: 20px;
  }
  .catalog-visual[data-slide="6"] {
    --catalog-pattern-width: 50%;
    --catalog-sock-offset-x: 20px;
  }

  .catalog-text {
    display: contents;
  }

  .catalog-text h2 {
    grid-area: catalog-title;
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: clamp(56px, 8vw, 76px);
  }

  .catalog-text h3 {
    grid-area: catalog-name;
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: clamp(40px, 6vw, 60px);
    min-height: 1.4em;
    max-height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .catalog-text p:not(.catalog-sku) {
    grid-area: catalog-description;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(24px, 3.2vw, 34px);
    max-width: 620px;
    min-height: 3.6em;
    max-height: 3.6em;
    overflow: hidden;
  }

  .catalog-sku {
    grid-area: catalog-sku;
    justify-self: center;
    align-self: center;
  }

  .catalog-order-btn {
    grid-area: catalog-order;
    justify-self: center;
    align-self: center;
    width: min(100%, 420px);
    min-height: clamp(64px, 8vw, 84px);
    font-size: clamp(40px, 5.4vw, 56px);
  }

  .catalog-aside {
    grid-area: aside;
    width: auto;
    min-width: clamp(64px, 8vw, 88px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(50px, 10vw, 100px);
    align-self: center;
    justify-self: start;
    padding: 0;
  }

  .catalog-controls {
    flex-direction: column;
    margin-top: 0;
    gap: 14px;
  }

  .catalog-next {
    width: clamp(84px, 12vw, 130px);
    height: clamp(46px, 6vw, 70px);
  }

  .catalog-texture {
    height: 100%;
  }

  .about-texture {
    height: 100%;
  }

  /* ---------- ABOUT (keep the 2x2 grid, just breathe a bit more) ---------- */
  .about-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 48px);
  }

  .about-card {
    --about-card-height: clamp(330px, 42vw, 400px);
    --about-art-size: clamp(150px, 24vw, 220px);
  }

  .about-card-text {
    font-size: clamp(14px, 2vw, 18px);
    min-height: 10.6em;
    max-height: 10.6em;
  }

  /* ---------- ORDER ---------- */
  .order-block {
    padding: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 48px) clamp(56px, 6vw, 80px);
  }

  .order-lead {
    font-size: clamp(40px, 5.4vw, 56px);
  }

  .order-description {
    font-size: clamp(20px, 2.8vw, 28px);
  }

  .order-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .order-gallery {
    max-width: 640px;
    order: 3;
    width: 100%;
    align-self: center;
    margin-top: clamp(12px, 2vw, 20px);
  }

  .order-hero-figure {
    display: block;
    order: 1;
    align-self: center;
    width: clamp(280px, 52vw, 460px);
    margin: 0;
  }

  .order-samples {
    order: 2;
    width: 100%;
    justify-content: center;
    min-height: auto;
    padding: clamp(14px, 2.5vw, 22px) 0;
  }

  .order-samples-title {
    text-align: center;
    font-size: clamp(56px, 9vw, 104px);
  }

  .order-vk-btn {
    width: min(80%, 460px);
  }
}

/* Stack the about-grid (narrow tablets / phones).
   On wider tablets we keep the nice 2x2 grid (handled in the tablet block below). */
@media (max-width: 640px) {
  .order-lead-mobile-break {
    display: initial;
  }

  .about-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Once cards are stacked one-per-row, let them grow with their text
     instead of a fixed height (otherwise the longer cards get clipped). */
  .about-card {
    --about-art-size: clamp(160px, 30vw, 240px);
    grid-template-rows: auto auto;
    height: auto;
  }

  .about-card-art {
    min-height: clamp(150px, 32vw, 230px);
  }

  .about-card-text {
    min-height: 11.2em;
    max-height: 14.2em;
    font-size: clamp(15px, 1.3vw, 20px);
  }
}

/* Phone */
@media (max-width: 640px) {
  .hero-title-mobile-break {
    display: initial;
  }

  .hero-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .hero-logo {
    width: 168px;
    min-width: 0;
  }

  .hero-logo-img {
    width: 120px;
  }

  .hero-nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin-top: 0;
    gap: 14px;
  }

  .hero-nav a {
    font-size: clamp(30px, 8.2vw, 36px);
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    min-height: 360px;
  }

  .hero-cta {
    top: auto;
    margin-left: 5%;
    margin-right: 5%;
    bottom: clamp(-60px, 0%, -60px);
    width: 90%;
    left: 0;
  }

  .hero-slogan {
    max-width: 40%;
    font-size: clamp(22px, 5.5vw, 32px);
    top: clamp(-30px, 0%, -30px);
  }

  .catalog-texture {
    height: 100%;
  }

  .about-texture {
    height: 100%;
  }

  .about-card {
    --about-card-height: auto;
    grid-template-rows: auto auto;
    height: auto;
    --about-art-size: clamp(120px, 44vw, 220px);
    padding: 0;
  }

  .about-card-body {
    padding: 18px;
  }

  .about-card-art {
    margin-top: clamp(0px, 3vw, 0px);
    min-height: clamp(10px, 34vw, 10px);
  }

  .about-card-three .about-illustration {
    --illustration-scale: 0.9;
    --illustration-offset-y: 12px;
  }

  .about-card-four .about-illustration {
    --illustration-scale: 0.44;
    --illustration-offset-y: 14px;
  }

  .order-gallery {
    max-width: 480px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .order-hero-figure {
    display: none;
  }

  .order-showcase {
    justify-items: center;
    grid-template-rows: auto auto;
    row-gap: clamp(10px, 3vw, 18px);
  }

  .order-samples {
    grid-column: 1;
    grid-row: 2;
    min-height: auto;
    width: 100%;
    justify-content: center;
    padding: clamp(10px, 2.5vw, 18px);
  }

  .order-samples-title {
    width: 100%;
    text-align: center;
    font-size: clamp(36px, 9vw, 64px);
  }

  .catalog-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "catalog-title"
      "visual"
      "aside"
      "catalog-name"
      "catalog-description"
      "catalog-sku"
      "catalog-order";
    justify-items: center;
    align-items: start;
    row-gap: 15px;
  }

  .catalog-content > * {
    position: relative;
  }

  .catalog-visual {
    grid-area: visual;
    z-index: 1;
  }

  .catalog-aside {
    grid-area: aside;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 6px 0 0;
    gap: 0;
    z-index: 3;
  }

  .catalog-controls {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .catalog-next {
    display: none;
  }

  .catalog-text {
    display: contents;
  }

  .catalog-text h2 {
    grid-area: catalog-title;
    width: 100%;
    text-align: center;
    margin: 0;
    z-index: 3;
  }

  .catalog-text h3 {
    grid-area: catalog-name;
    width: 100%;
    text-align: center;
    margin: 0;
    z-index: 3;
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .catalog-text p:not(.catalog-sku) {
    grid-area: catalog-description;
    width: 100%;
    text-align: left;
    margin: 0;
    z-index: 3;
    min-height: 6.2em;
  }

  .catalog-sku {
    grid-area: catalog-sku;
    justify-self: center;
    margin: 0;
    z-index: 3;
  }

  .catalog-order-btn {
    grid-area: catalog-order;
    justify-self: center;
    margin-top: 0;
    z-index: 3;
  }

  .catalog-visual {
    aspect-ratio: 1 / 1;
    min-height: 340px;
    margin-top: 8px;
    --circle-size: min(78vw, 340px);
    overflow: hidden;
    touch-action: pan-y;
  }

  .catalog-ring,
  .catalog-ring-outline {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .catalog-ring-pattern {
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--catalog-pattern-offset-x, 0px)), -50%);
    width: var(--catalog-pattern-width, 72%);
  }

  .green-block {
    height: 10px;
  }

  .catalog-visual[data-slide] .catalog-sock {
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + var(--catalog-sock-offset-x, 0px)), -50%);
  }

  .catalog-visual[data-slide="1"] .catalog-sock {
    width: 73%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  
  .catalog-visual[data-slide="2"] .catalog-sock {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .catalog-visual[data-slide="3"] .catalog-sock {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .catalog-visual[data-slide="4"] .catalog-sock {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .catalog-visual[data-slide="5"] .catalog-sock {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .catalog-visual[data-slide="6"] .catalog-sock {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .catalog-visual[data-slide="1"] {
    --catalog-pattern-width: 60%;
    --catalog-pattern-offset-x: 20px;
    --catalog-sock-offset-x: 0px;
  }
  
  .catalog-visual[data-slide="2"] {
    --catalog-pattern-width: 60%;
    --catalog-pattern-offset-x: 0px;
    --catalog-sock-offset-x: 0px;
  }
  
  .catalog-visual[data-slide="3"] {
    --catalog-pattern-width: 53%;
    --catalog-pattern-offset-x: 0px;
    --catalog-sock-offset-x: 15px;
  }
  
  .catalog-visual[data-slide="4"] {
    --catalog-pattern-width: 50%;
    --catalog-pattern-offset-x: 0px;
    --catalog-sock-offset-x: 20px;
  }
  
  .catalog-visual[data-slide="5"] {
    --catalog-pattern-width: 60%;
    --catalog-pattern-offset-x: 15px;
    --catalog-sock-offset-x: 20px;
  }
  
  .catalog-visual[data-slide="6"] {
    --catalog-pattern-width: 50%;
    --catalog-pattern-offset-x: 0px;
    --catalog-sock-offset-x: 20px;
  }
}
