/* Top City v17 — dedicated service page: rigid bookbinding boxes. */
.rigid-box-page {
  --rigid-gold: #d4a657;
  --rigid-silver: #c8cdcb;
  --rigid-paper: #f2f0e9;
  --rigid-ink: #0b0d0c;
}

.rigid-box-page .desktop-nav a[aria-current="page"] {
  color: var(--lime);
}

.rigid-hero {
  min-height: 720px;
  align-items: center;
  display: flex;
}

.rigid-hero .page-hero-copy {
  max-width: min(780px, 47%);
}

.rigid-hero .page-hero-lead {
  max-width: 625px;
}

.rigid-hero-visual {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 26px 24px 26px 49%;
}

.rigid-hero-visual::before {
  content: "";
  background: radial-gradient(circle at 58% 48%, rgba(212, 166, 87, .22), transparent 31rem);
  position: absolute;
  inset: -80px;
}

.rigid-hero-main,
.rigid-hero-sample {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #161817;
  box-shadow: 0 32px 78px rgba(0, 0, 0, .42);
  position: absolute;
  overflow: hidden;
}

.rigid-hero-main {
  border-radius: 24px;
  inset: 5% 4% 5% 5%;
  transform: rotate(-.8deg);
}

.rigid-hero-main::after {
  content: "";
  background: linear-gradient(90deg, rgba(8, 10, 9, .65), transparent 34%), linear-gradient(0deg, rgba(8, 10, 9, .46), transparent 48%);
  position: absolute;
  inset: 0;
}

.rigid-hero-main i {
  z-index: 2;
  width: 18%;
  height: 160%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 194, .42), transparent);
  position: absolute;
  top: -30%;
  left: -28%;
  transform: skewX(-17deg);
  animation: rigid-glint 7.2s 1.4s ease-in-out infinite;
}

.rigid-hero-main img,
.rigid-hero-sample img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: saturate(.72) contrast(1.08) brightness(.75);
}

.rigid-hero-sample {
  z-index: 3;
  width: 32%;
  height: 26%;
  right: 0;
  bottom: 1%;
  border-radius: 14px;
  transform: rotate(2.8deg);
}

.rigid-hero-chip {
  z-index: 5;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  background: rgba(8, 10, 9, .76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .32);
  padding: 15px 18px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
  position: absolute;
  bottom: 9%;
  left: 1%;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rigid-hero-chip strong {
  color: var(--lime);
  letter-spacing: -.035em;
  margin-right: 7px;
  font-size: 22px;
}

.rigid-hero-facts {
  border-top: 1px solid rgba(255, 255, 255, .16);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  margin-top: 34px;
  padding-top: 17px;
  display: grid;
}

.rigid-hero-facts div {
  min-height: 50px;
  padding-right: 16px;
}

.rigid-hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, .13);
  padding-left: 16px;
}

.rigid-hero-facts strong {
  color: var(--lime);
  letter-spacing: -.04em;
  font-size: 24px;
  line-height: 1;
  display: block;
}

.rigid-hero-facts span {
  color: rgba(255, 255, 255, .5);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 7px;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.35;
  display: block;
}

.rigid-jumpbar {
  z-index: 12;
  color: #f5f2eb;
  background: #0b0d0c;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 18px;
  display: grid;
  position: relative;
}

.rigid-jumpbar a {
  color: rgba(255, 255, 255, .62);
  letter-spacing: .08em;
  text-transform: uppercase;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 19px 17px;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  transition: color .25s ease, background .25s ease;
}

.rigid-jumpbar a + a {
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.rigid-jumpbar a:hover,
.rigid-jumpbar a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.rigid-jumpbar span {
  color: var(--lime);
}

.rigid-intro {
  background: var(--rigid-paper);
}

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

.rigid-value-grid article {
  border: 1px solid rgba(13, 15, 14, .15);
  border-radius: 16px;
  background: rgba(255, 255, 255, .36);
  min-height: 250px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.rigid-value-grid article::after {
  content: attr(data-value);
  color: rgba(11, 13, 12, .03);
  font-size: 120px;
  font-weight: 900;
  position: absolute;
  right: -12px;
  bottom: -44px;
}

.rigid-value-grid article:hover {
  border-color: rgba(212, 166, 87, .6);
  box-shadow: 0 24px 54px rgba(17, 19, 18, .08);
  transform: translateY(-4px);
}

.rigid-value-grid article > span {
  color: #a4410c;
  font-size: 25px;
  font-weight: 900;
}

.rigid-value-grid h3 {
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 42px 0 12px;
  font-size: 15px;
}

.rigid-value-grid p {
  color: #64665f;
  margin: 0;
  font-size: 12px;
  line-height: 1.58;
}

.rigid-types {
  background: radial-gradient(circle at 78% 14%, rgba(212, 166, 87, .16), transparent 28rem), linear-gradient(145deg, #090b0a, #111411);
}

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

.rigid-type-card {
  border: 1px solid rgba(200, 205, 203, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(200, 205, 203, .085), rgba(255, 255, 255, .016));
  min-width: 0;
  overflow: hidden;
  transition: border-color .35s ease, background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.rigid-type-card:hover {
  border-color: rgba(212, 166, 87, .72);
  background: linear-gradient(145deg, rgba(212, 166, 87, .15), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 74px rgba(0, 0, 0, .26);
  transform: translateY(-5px);
}

.rigid-type-card figure {
  aspect-ratio: 3 / 1.82;
  margin: 0;
  background: #171918;
  position: relative;
  overflow: hidden;
}

.rigid-type-card figure::after {
  content: "";
  background: linear-gradient(135deg, rgba(200, 205, 203, .1), transparent 42%), linear-gradient(0deg, rgba(8, 10, 9, .36), transparent 45%);
  position: absolute;
  inset: 0;
  transition: background .35s ease;
}

.rigid-type-card:hover figure::after {
  background: linear-gradient(135deg, rgba(212, 166, 87, .22), transparent 44%), linear-gradient(0deg, rgba(8, 10, 9, .28), transparent 45%);
}

.rigid-type-card figure i {
  z-index: 2;
  width: 20%;
  height: 160%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 184, .48), transparent);
  position: absolute;
  top: -30%;
  left: -35%;
  transform: skewX(-18deg);
}

.rigid-type-card:hover figure i {
  animation: type-card-glint 1s ease both;
}

.rigid-type-card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: saturate(.7) contrast(1.08) brightness(.78);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.rigid-type-card:hover img {
  filter: saturate(.88) contrast(1.08) brightness(.85);
  transform: scale(1.035);
}

.rigid-type-card > div {
  padding: clamp(23px, 2.4vw, 34px);
}

.rigid-type-card > div > span {
  color: var(--lime);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}

.rigid-type-card h3 {
  color: #f6f3ec;
  letter-spacing: -.035em;
  margin: 12px 0 10px;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1;
}

.rigid-type-card p {
  color: rgba(255, 255, 255, .56);
  max-width: 650px;
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.rigid-type-card ul {
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
}

.rigid-type-card li {
  color: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
}

.rigid-type-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  display: grid;
}

.rigid-type-featured figure {
  aspect-ratio: auto;
  min-height: 470px;
}

.rigid-type-featured > div {
  align-content: end;
  display: grid;
}

.rigid-pricing {
  background: var(--rigid-paper);
}

.rigid-price-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  align-items: stretch;
  gap: 13px;
  display: grid;
}

.box-calculator {
  color: #f6f3ec;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: radial-gradient(circle at 82% 12%, rgba(237, 124, 36, .11), transparent 20rem), linear-gradient(145deg, #0a0c0b, #171a17);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: clamp(24px, 3.3vw, 46px);
  display: grid;
  box-shadow: 0 30px 80px rgba(17, 19, 18, .14);
}

.calculator-heading {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.calculator-heading span,
.price-context > span,
.price-table-heading span {
  color: var(--lime);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
  display: block;
}

.calculator-heading strong {
  letter-spacing: -.035em;
  margin-top: 7px;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1;
  display: block;
}

.box-calculator > label {
  min-width: 0;
}

.box-calculator > label > span {
  color: rgba(255, 255, 255, .57);
  margin-bottom: 8px;
  font-size: 10px;
  display: block;
}

.box-calculator select {
  color: #f6f3ec;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 10px;
  background: #151815;
  width: 100%;
  min-height: 50px;
  padding: 0 38px 0 14px;
  font-size: 12px;
  cursor: pointer;
}

.box-calculator select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.calculator-wide {
  grid-column: 1 / -1;
}

.calculator-result {
  border: 1px solid rgba(237, 124, 36, .24);
  border-radius: 14px;
  background: rgba(237, 124, 36, .06);
  margin-top: 6px;
  padding: 22px;
}

.calculator-result > span {
  color: rgba(255, 255, 255, .56);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}

.calculator-result > strong {
  color: var(--lime);
  letter-spacing: -.045em;
  margin-top: 7px;
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1;
  display: block;
}

.calculator-result p {
  border-top: 1px solid rgba(255, 255, 255, .12);
  justify-content: space-between;
  gap: 14px;
  margin: 17px 0 0;
  padding-top: 14px;
  display: flex;
}

.calculator-result p span {
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
}

.calculator-result p b {
  color: #fff;
  font-size: 14px;
}

.calculator-result small {
  color: rgba(255, 255, 255, .38);
  margin-top: 13px;
  font-size: 9px;
  line-height: 1.5;
  display: block;
}

.box-calculator .button {
  justify-content: center;
}

.price-context {
  border: 1px solid rgba(13, 15, 14, .15);
  border-radius: 20px;
  background: rgba(255, 255, 255, .36);
  padding: clamp(25px, 3vw, 40px);
}

.price-context > span,
.price-table-heading span {
  color: #a4410c;
}

.price-context ol {
  counter-reset: price;
  margin: 25px 0 0;
  padding: 0;
}

.price-context li {
  counter-increment: price;
  border-top: 1px solid rgba(13, 15, 14, .13);
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 17px 0;
  display: grid;
}

.price-context li::before {
  content: "0" counter(price);
  color: #a4410c;
  font-size: 11px;
  font-weight: 900;
}

.price-context b {
  font-size: 13px;
  display: block;
}

.price-context small {
  color: #676961;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
  display: block;
}

.price-table-wrap {
  border: 1px solid rgba(13, 15, 14, .15);
  border-radius: 20px;
  background: rgba(255, 255, 255, .42);
  margin-top: 13px;
  padding: clamp(23px, 3vw, 38px);
}

.price-table-heading {
  grid-template-columns: minmax(220px, .45fr) minmax(0, .55fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
  display: grid;
}

.price-table-heading strong {
  letter-spacing: -.025em;
  margin-top: 7px;
  font-size: 25px;
  display: block;
}

.price-table-heading p,
.price-note {
  color: #666861;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.price-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.price-table-scroll:focus-visible {
  outline: 2px solid #a4410c;
  outline-offset: 3px;
}

.price-table-scroll table {
  border-collapse: collapse;
  width: 100%;
  min-width: 690px;
  font-size: 12px;
}

.price-table-scroll th,
.price-table-scroll td {
  border-bottom: 1px solid rgba(13, 15, 14, .13);
  padding: 16px 14px;
  text-align: left;
  white-space: nowrap;
}

.price-table-scroll thead th {
  color: #696b64;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 8px;
}

.price-table-scroll tbody th {
  font-size: 13px;
}

.price-table-scroll tbody td {
  font-variant-numeric: tabular-nums;
}

.price-note {
  margin-top: 17px;
}

.rigid-materials {
  background: radial-gradient(circle at 86% 12%, rgba(212, 166, 87, .15), transparent 25rem), #0a0c0b;
}

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

.materials-grid article {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  min-height: 230px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}

.materials-grid article:hover {
  border-color: rgba(212, 166, 87, .55);
  transform: translateY(-4px);
}

.materials-grid article > span {
  color: var(--lime);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}

.materials-grid h3 {
  color: #f7f4ed;
  letter-spacing: -.025em;
  margin: 34px 0 10px;
  font-size: 24px;
}

.materials-grid p {
  color: rgba(255, 255, 255, .52);
  max-width: 350px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.materials-grid i {
  background: var(--material);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 16px 35px rgba(0, 0, 0, .25);
  position: absolute;
  right: 20px;
  bottom: 18px;
}

.rigid-process {
  background: var(--rigid-paper);
}

.rigid-process-grid {
  counter-reset: step;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  display: grid;
}

.rigid-process-grid li {
  border-top: 1px solid rgba(13, 15, 14, .2);
  min-height: 245px;
  padding: 22px 18px 20px 0;
  position: relative;
}

.rigid-process-grid li::after {
  content: "";
  background: linear-gradient(90deg, #b3490f, var(--rigid-gold));
  width: 0;
  height: 2px;
  position: absolute;
  top: -1px;
  left: 0;
  transition: width .5s ease;
}

.rigid-process-grid li:hover::after {
  width: 100%;
}

.rigid-process-grid li > span {
  color: #a4410c;
  font-size: 30px;
  font-weight: 900;
}

.rigid-process-grid h3 {
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 58px 0 11px;
  font-size: 13px;
}

.rigid-process-grid p {
  color: #666861;
  margin: 0;
  font-size: 11px;
  line-height: 1.58;
}

.rigid-request {
  background: radial-gradient(circle at 20% 12%, rgba(237, 124, 36, .08), transparent 28rem), linear-gradient(135deg, #090b0a, #111411);
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(42px, 6vw, 96px);
  display: grid;
}

.request-intro {
  position: sticky;
  top: 24px;
}

.request-intro h2,
.faq-heading h2 {
  color: #f6f3ec;
  letter-spacing: -.052em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(40px, 4.6vw, 74px);
  line-height: .95;
}

.request-intro h2 em,
.faq-heading h2 em {
  color: var(--lime);
  font-style: normal;
}

.request-intro > p:last-of-type {
  color: rgba(255, 255, 255, .54);
  max-width: 510px;
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.62;
}

.request-intro ul {
  margin: 30px 0 0;
  padding: 0;
}

.request-intro li {
  color: rgba(255, 255, 255, .66);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 12px 0;
  font-size: 11px;
}

.request-intro li::before {
  content: "✓";
  color: var(--lime);
  margin-right: 10px;
  font-weight: 900;
}

.rigid-request .page-form {
  background: #f5f3ed;
}

.rigid-faq {
  background: var(--rigid-paper);
  grid-template-columns: minmax(290px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(42px, 7vw, 110px);
  display: grid;
}

.faq-heading {
  position: sticky;
  top: 24px;
}

.rigid-faq .faq-heading .page-kicker {
  color: #686a63;
}

.rigid-faq .faq-heading h2 {
  color: #0b0d0c;
}

.faq-heading > p:last-child {
  color: #666861;
  max-width: 390px;
  margin: 23px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.rigid-box-page .faq-list details {
  border-top: 1px solid rgba(13, 15, 14, .17);
}

.rigid-box-page .faq-list details:last-child {
  border-bottom: 1px solid rgba(13, 15, 14, .17);
}

.rigid-box-page .faq-list summary {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  list-style: none;
}

.rigid-box-page .faq-list summary::-webkit-details-marker {
  display: none;
}

.rigid-box-page .faq-list summary span {
  flex: 0 0 34px;
  border: 1px solid rgba(13, 15, 14, .22);
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 18px;
  font-weight: 400;
  display: grid;
  transition: transform .25s ease, color .25s ease, background .25s ease;
}

.rigid-box-page .faq-list details[open] summary span {
  color: #0b0d0b;
  background: var(--lime);
  transform: rotate(45deg);
}

.rigid-box-page .faq-list details p {
  color: #5f615b;
  max-width: 760px;
  margin: -4px 54px 24px 0;
  font-size: 13px;
  line-height: 1.7;
}

@keyframes rigid-glint {
  0%, 18% { left: -28%; opacity: 0; }
  29% { opacity: .9; }
  58% { left: 120%; opacity: .35; }
  69%, 100% { left: 120%; opacity: 0; }
}

@keyframes type-card-glint {
  0% { left: -35%; opacity: 0; }
  24% { opacity: .9; }
  100% { left: 135%; opacity: 0; }
}

@media (width <= 1260px) {
  .rigid-hero .page-hero-copy {
    max-width: 51%;
  }

  .rigid-hero-visual {
    left: 51%;
  }

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

  .rigid-price-layout,
  .rigid-request,
  .rigid-faq {
    grid-template-columns: 1fr;
  }

  .price-context ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    display: grid;
  }

  .price-context li {
    grid-template-columns: 1fr;
  }

  .request-intro,
  .faq-heading {
    position: static;
  }

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

@media (width <= 980px) {
  .rigid-jumpbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 10px;
  }

  .rigid-jumpbar a:nth-child(4) {
    border-left: 0;
  }

  .rigid-jumpbar a:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .rigid-hero-main {
    inset: 3% 2% !important;
  }

  .rigid-type-featured {
    grid-template-columns: 1fr;
  }

  .rigid-type-featured figure {
    aspect-ratio: 3 / 1.82;
    min-height: 0;
  }

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

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

@media (width <= 680px) {
  .rigid-jumpbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 6px;
  }

  .rigid-jumpbar a {
    min-height: 50px;
    padding: 14px 11px;
    font-size: 8px;
  }

  .rigid-jumpbar a:nth-child(odd) {
    border-left: 0;
  }

  .rigid-jumpbar a:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .rigid-hero-sample {
    width: 38%;
    height: 27%;
  }

  .rigid-hero-chip {
    bottom: 6%;
    padding: 11px 13px;
  }

  .rigid-hero-chip strong {
    font-size: 18px;
  }

  .rigid-value-grid,
  .rigid-types-grid,
  .materials-grid,
  .rigid-process-grid {
    grid-template-columns: 1fr;
  }

  .rigid-value-grid article {
    min-height: 215px;
    padding: 22px;
  }

  .rigid-value-grid h3 {
    margin-top: 30px;
  }

  .rigid-type-featured {
    grid-column: auto;
  }

  .rigid-type-card figure,
  .rigid-type-featured figure {
    aspect-ratio: 1.28 / 1;
  }

  .rigid-type-card > div {
    padding: 21px;
  }

  .rigid-type-card h3 {
    font-size: 29px;
  }

  .rigid-type-card p {
    font-size: 12px;
  }

  .box-calculator {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 20px 15px;
  }

  .calculator-heading,
  .calculator-wide {
    grid-column: auto;
  }

  .calculator-result {
    padding: 18px;
  }

  .calculator-result > strong {
    font-size: clamp(31px, 10vw, 43px);
  }

  .calculator-result p {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .price-context {
    padding: 22px;
  }

  .price-context ol {
    grid-template-columns: 1fr;
  }

  .price-table-wrap {
    padding: 19px 14px;
  }

  .price-table-heading {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .price-table-scroll {
    overflow: visible;
  }

  .price-table-scroll table,
  .price-table-scroll tbody {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .price-table-scroll thead {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
  }

  .price-table-scroll tbody tr {
    border-top: 1px solid rgba(13, 15, 14, .13);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 14px 0;
    display: grid;
  }

  .price-table-scroll tbody th,
  .price-table-scroll tbody td {
    border: 0;
    min-width: 0;
    padding: 8px 6px;
    white-space: normal;
  }

  .price-table-scroll tbody th {
    grid-column: 1 / -1;
    padding-bottom: 11px;
    font-size: 15px;
  }

  .price-table-scroll tbody td::before {
    color: #76786f;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-size: 7px;
    font-weight: 800;
    display: block;
  }

  .price-table-scroll tbody td:nth-child(2)::before { content: "100 шт."; }
  .price-table-scroll tbody td:nth-child(3)::before { content: "300 шт."; }
  .price-table-scroll tbody td:nth-child(4)::before { content: "500 шт."; }
  .price-table-scroll tbody td:nth-child(5)::before { content: "1 000 шт."; }

  .materials-grid article {
    min-height: 205px;
  }

  .rigid-process-grid li {
    min-height: 0;
    padding: 20px 0 24px 50px;
  }

  .rigid-process-grid li > span {
    position: absolute;
    top: 19px;
    left: 0;
    font-size: 24px;
  }

  .rigid-process-grid h3 {
    margin: 0 0 9px;
  }

  .request-intro h2,
  .faq-heading h2 {
    font-size: clamp(31px, 9.1vw, 42px);
  }

  .rigid-request {
    gap: 30px;
  }

  .rigid-box-page .faq-list summary {
    padding: 19px 0;
    font-size: 13px;
  }

  .rigid-box-page .faq-list summary span {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .rigid-box-page .faq-list details p {
    margin-right: 0;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rigid-hero-main i,
  .rigid-type-card:hover figure i {
    animation: none;
  }
}
