:root {
  --ink: #14120f;
  --paper: #f4f0e8;
  --paper-warm: #e9e0d3;
  --orange: #ff5a1f;
  --orange-deep: #df3f08;
  --line: rgba(20, 18, 15, .16);
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); }
.background-glow { display: none; }
.container { max-width: 1280px; padding-inline: 28px; }

.site-header {
  padding: 14px 0;
  background: rgba(244, 240, 232, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-flex { min-height: 52px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; transform: rotate(-8deg); }
.logo-mark i { display: block; background: var(--orange); border-radius: 3px; }
.logo-mark i:nth-child(3) { grid-column: span 2; }
.logo-word { font-family: var(--display); font-size: 16px; letter-spacing: -.04em; text-transform: uppercase; }
.logo-word b { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { color: rgba(20,18,15,.72); font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s; }
.main-nav a:hover { color: var(--orange); }
.header-contacts { text-align: left; padding-left: 28px; border-left: 1px solid var(--line); }
.header-phone { color: var(--ink); font-size: 14px; font-weight: 800; }
.header-status { color: rgba(20,18,15,.54); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.header-status span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #41a85f; box-shadow: 0 0 0 3px rgba(65,168,95,.14); }
.header-cta { padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 100px; font-size: 12px; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--orange); transform: translateY(-1px); }
.header-cta span { margin-left: 6px; }

.hero-section { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-section::before { content: ''; position: absolute; width: 720px; height: 720px; right: -240px; top: -260px; border: 1px solid rgba(255,90,31,.34); border-radius: 50%; box-shadow: inset 0 0 0 100px rgba(255,90,31,.025), inset 0 0 0 200px rgba(255,90,31,.025); }
.hero-block { min-height: calc(100vh - 81px); grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 72px; padding-top: 70px; padding-bottom: 54px; }
.hero-content { position: relative; z-index: 2; }
.hero-tag { display: flex; align-items: center; gap: 12px; color: rgba(20,18,15,.58); font-size: 10px; letter-spacing: .13em; margin-bottom: 28px; }
.hero-tag::before { content: ''; width: 34px; height: 1px; background: var(--orange); }
.hero-tag span { padding: 7px 10px; background: var(--orange); color: white; border-radius: 100px; }
h1 { max-width: 760px; margin-bottom: 26px; color: var(--ink); font-family: var(--display); font-size: clamp(44px, 5vw, 76px); line-height: 1.02; letter-spacing: -.065em; text-transform: uppercase; }
h1 em { color: var(--orange); font-style: normal; }
.hero-description { max-width: 690px; margin-bottom: 30px; color: rgba(20,18,15,.67); font-size: 15px; line-height: 1.75; font-weight: 500; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { padding: 16px 24px; border-radius: 100px; background: var(--orange); box-shadow: none; font-size: 13px; font-weight: 800; }
.btn span { margin-left: 10px; }
.btn:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,90,31,.22); }
.btn-secondary { margin-left: 0; background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-secondary:hover { background: var(--ink); color: white; border-color: var(--ink); }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 620px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; align-items: flex-start; gap: 10px; }
.hero-proof strong { color: var(--orange); font-family: var(--display); font-size: 10px; }
.hero-proof span { color: rgba(20,18,15,.6); font-size: 10px; font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }

.hero-showcase { position: relative; min-height: 600px; isolation: isolate; }
.showcase-orbit { position: absolute; inset: 6% 0 0 3%; border: 1px solid var(--line); border-radius: 48% 52% 46% 54% / 55% 38% 62% 45%; transform: rotate(-9deg); }
.showcase-main { position: absolute; z-index: 2; width: 96%; height: 94%; right: -2%; top: 0; margin: 0; filter: drop-shadow(0 32px 28px rgba(64,43,24,.18)); }
.showcase-main img { width: 100%; height: 100%; object-fit: contain; }
.showcase-small { position: absolute; z-index: 3; margin: 0; width: 31%; aspect-ratio: 1; overflow: hidden; border: 8px solid var(--paper); border-radius: 50%; box-shadow: 0 18px 50px rgba(39,28,17,.2); }
.showcase-small img { width: 100%; height: 100%; object-fit: cover; }
.showcase-shirt { left: 0; top: 18%; }
.showcase-note { right: 0; bottom: 7%; }
.showcase-label { position: absolute; z-index: 5; padding: 10px 14px; background: var(--ink); color: white; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-4deg); }
.showcase-label span { color: #ffb393; }
.label-top { right: 4%; top: 4%; }
.label-uv { left: 1%; top: 29%; transform: rotate(3deg); }
.label-engraving { right: 1%; top: 44%; background: var(--orange); transform: rotate(-2deg); }
.label-embroidery { left: 6%; top: 54%; transform: rotate(-5deg); }
.label-bottom { left: 4%; bottom: 13%; transform: rotate(3deg); }
.orange-cube { position: absolute; z-index: 4; width: 24px; height: 24px; background: var(--orange); box-shadow: inset -6px -6px 0 rgba(117,25,0,.18), 0 12px 20px rgba(255,90,31,.25); transform: rotate(28deg) skew(-5deg); animation: floatMini 4s ease-in-out infinite; }
.cube-a { right: 2%; top: 27%; }
.cube-b { left: 13%; bottom: 30%; width: 15px; height: 15px; animation-delay: -1.2s; }
.cube-c { right: 30%; bottom: 0; width: 18px; height: 18px; animation-delay: -2.4s; }
@keyframes floatMini { 50% { translate: 0 -14px; rotate: 18deg; } }
.showcase-caption { position: absolute; z-index: 5; right: 12%; bottom: 0; display: flex; flex-direction: column; min-width: 230px; padding: 18px 20px; color: white; background: var(--orange); border-radius: 4px; transform: rotate(-2deg); }
.showcase-caption span { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.showcase-caption strong { font-family: var(--display); font-size: 17px; text-transform: uppercase; }
.content-shell { max-width: 1280px; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .header-contacts { margin-left: auto; }
  .hero-block { grid-template-columns: 1fr 420px; gap: 28px; }
  h1 { font-size: clamp(42px, 6vw, 64px); }
}
@media (max-width: 820px) {
  .header-contacts { display: none; }
  .hero-block { grid-template-columns: 1fr; text-align: left; padding-top: 48px; }
  .hero-showcase { min-height: 540px; width: min(100%, 520px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .header-cta { padding: 11px 14px; }
  .logo-word { font-size: 13px; }
  .hero-block { padding-top: 36px; }
  h1 { font-size: clamp(36px, 11vw, 54px); }
  .hero-description { font-size: 13px; }
  .hero-proof { gap: 12px; }
  .hero-proof div { display: block; }
  .hero-proof strong { display: block; margin-bottom: 5px; }
  .hero-showcase { min-height: 430px; }
  .showcase-label { padding: 7px 9px; font-size: 8px; }
  .label-uv { top: 25%; }
  .label-engraving { top: 46%; }
  .label-embroidery { left: 2%; top: 59%; }
  .showcase-small { border-width: 5px; }
}

/* Editorial content system */
main section { scroll-margin-top: 96px; }
.content-shell { display: flex; flex-direction: column; }
.portfolio-section { order: 1; }
#prices { order: 2; }
.rubik-section { order: 3; }
.process-section { order: 4; }
.partners-section { order: 5; }
.cta-wrap { order: 6; }

.portfolio-section,
.partners-section,
.section-padding { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-title { max-width: 970px; margin-bottom: 18px; color: var(--ink); font-family: var(--display); font-size: clamp(32px, 4.1vw, 58px); line-height: 1.08; letter-spacing: -.055em; text-transform: uppercase; }
.section-title::before { display: block; margin-bottom: 18px; color: var(--orange); font-family: var(--body); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.portfolio-section .section-title::before { content: '01 / РЕАЛИЗОВАННЫЕ ПРОЕКТЫ'; }
#prices .section-title::before { content: '02 / ВЫБЕРИТЕ ОСНОВУ'; }
.process-section .section-title::before { content: '04 / ОТ ЗАЯВКИ ДО ТИРАЖА'; }
.partners-section .section-title::before { content: '05 / НАМ ДОВЕРЯЮТ'; }
.section-title span { color: var(--orange); }
.section-subtitle { max-width: 760px; margin-bottom: 42px; color: rgba(20,18,15,.61); font-size: 15px; line-height: 1.75; font-weight: 500; }

/* Compact portfolio grid */
.carousel-track-container { overflow: visible; margin-top: 34px; padding: 0; }
.carousel-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; animation: none; }
.portfolio-item { display: grid; grid-template-rows: 190px auto; width: auto; height: auto; min-height: 0; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.34); box-shadow: none; }
.portfolio-item:nth-child(n+7) { display: none; }
.portfolio-item:hover { transform: none; z-index: 1; }
.portfolio-item img { position: static; width: 100%; height: 190px; opacity: 1; object-fit: cover; filter: saturate(.74) contrast(.96); transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s; }
.portfolio-item:hover img { transform: scale(1.02); filter: saturate(.92); }
.portfolio-meta { position: static; padding: 15px 17px 17px; background: transparent; border-top: 1px solid var(--line); }
.portfolio-meta h4 { color: var(--ink); font-family: var(--display); font-size: 12px; text-transform: uppercase; }
.portfolio-meta p { color: var(--orange-deep); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

/* Catalog */
#prices { padding-top: 112px; }
.catalog-showcase-link { position: relative; display: grid; grid-template-columns: 1fr 250px 58px; min-height: 220px; align-items: center; gap: 24px; margin: -4px 0 34px; padding: 28px 30px; overflow: hidden; border-radius: 7px; background: var(--ink); color: white; text-decoration: none; isolation: isolate; transition: transform .3s, box-shadow .3s; }
.catalog-showcase-link::before { content: 'КАТАЛОГ'; position: absolute; left: -8px; bottom: -34px; z-index: -1; color: rgba(255,255,255,.035); font-family: var(--display); font-size: 108px; font-weight: 800; line-height: 1; letter-spacing: -.09em; }
.catalog-showcase-link:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(20,18,15,.17); }
.catalog-showcase-copy { display: flex; flex-direction: column; align-items: flex-start; }
.catalog-showcase-copy small { margin-bottom: 13px; color: #ff966f; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.catalog-showcase-copy strong { font-family: var(--display); font-size: clamp(23px, 3vw, 38px); line-height: 1.08; letter-spacing: -.05em; text-transform: uppercase; }
.catalog-showcase-copy em { margin-top: 17px; color: rgba(255,255,255,.55); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.catalog-showcase-image { align-self: end; height: 190px; margin-bottom: -28px; }
.catalog-showcase-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.28)); }
.catalog-showcase-link > i { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--orange); color: white; font-size: 20px; font-style: normal; transition: rotate .3s, scale .3s; }
.catalog-showcase-link:hover > i { rotate: 45deg; scale: 1.04; }
.tabs-container { position: sticky; top: 81px; z-index: 20; gap: 8px; margin: 42px -8px 24px; padding: 10px 8px; background: rgba(244,240,232,.93); backdrop-filter: blur(14px); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.tabs-container::-webkit-scrollbar { display: none; }
.tab-btn { flex: 0 0 auto; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: rgba(20,18,15,.64); font-family: var(--body); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn.active { background: var(--ink); border-color: var(--ink); color: white; box-shadow: none; }
.price-table { border: 0; border-radius: 0; background: transparent; }
.price-table thead { display: none; }
.price-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.price-table tr { position: relative; display: grid; grid-template-columns: minmax(0,1fr) max-content; grid-template-rows: auto auto auto; gap: 7px 18px; min-width: 0; min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.34); transition: transform .25s, background .25s, border-color .25s; }
.price-table tr:hover { transform: translateY(-4px); background: #fffaf1; border-color: rgba(255,90,31,.48); }
.price-table td { display: block; padding: 0; border: 0; color: rgba(20,18,15,.66); font-size: 12px; line-height: 1.55; }
.price-table td:first-child { grid-column: 1; grid-row: 1; min-height: 0; margin: 0; padding: 0; color: var(--ink); font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.35; text-transform: uppercase; }
.price-table td:first-child::after { display: none; }
.price-table td:nth-child(2) { grid-column: 1; grid-row: 2; margin: 0; }
.price-table td:nth-child(3) { grid-column: 1; grid-row: 3; align-self: end; margin: 0; padding: 0; border: 0; }
.price-table td:nth-child(4) { grid-column: 2; grid-row: 1 / 4; align-self: end; text-align: right; white-space: nowrap; }
.price-table .item-tech { padding: 6px 9px; border-radius: 2px; background: rgba(255,90,31,.1); color: var(--orange-deep); font-size: 10px; letter-spacing: .06em; }
.price-table .item-price { margin: 0; color: var(--ink); font-family: var(--display); font-size: 18px; }
.price-table .item-moq { color: rgba(20,18,15,.52); font-size: 11px; font-weight: 700; text-transform: uppercase; }

/* Rubik motif integrated into the editorial flow */
.rubik-section { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 470px; margin: 0; padding: 78px 70px 62px; overflow: hidden; background: var(--paper-warm); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.rubik-section::before { content: '03 / ФИРМЕННЫЙ ПОДХОД'; position: absolute; top: 32px; left: 70px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.rubik-section::after { content: 'КУБ'; position: absolute; right: -22px; bottom: -42px; color: rgba(20,18,15,.035); font-family: var(--display); font-size: 180px; font-weight: 800; line-height: 1; letter-spacing: -.09em; }
.rubik-copy { align-self: center; position: relative; z-index: 2; max-width: 580px; }
.eyebrow { margin-bottom: 18px; color: rgba(20,18,15,.58); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.rubik-copy h2 { max-width: 690px; margin-bottom: 22px; font-family: var(--display); font-size: clamp(34px, 4vw, 56px); line-height: 1.06; letter-spacing: -.06em; text-transform: uppercase; }
.rubik-copy h2 span { color: var(--orange); }
.rubik-copy p { max-width: 560px; color: rgba(20,18,15,.68); font-size: 16px; line-height: 1.72; }
.rubik-tags { display: flex; gap: 0; margin-top: 28px; flex-wrap: wrap; }
.rubik-tags span { padding: 0 12px; border: 0; border-left: 1px solid rgba(20,18,15,.22); border-radius: 0; color: rgba(20,18,15,.62); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.rubik-tags span:first-child { padding-left: 0; border-left: 0; }
.rubik-visual { position: relative; min-height: 330px; perspective: 1000px; z-index: 1; }
.rubik-halo { position: absolute; width: 260px; height: 260px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: var(--orange); filter: blur(76px); opacity: .13; }
.rubik-stage { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; translate: -50% -50%; scale: .72; transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(32deg); animation: stageDrift 8s ease-in-out infinite; }
.rubik-cube { position: absolute; inset: 50% auto auto 50%; width: 42px; height: 42px; transform-style: preserve-3d; }
.cubie { position: absolute; left: -21px; top: -21px; width: 42px; height: 42px; display: block; transform-style: preserve-3d; opacity: 0; will-change: transform, opacity; }
.cubie-core { position: absolute; inset: 0; display: block; transform-style: preserve-3d; will-change: transform; }
.cubie-face { position: absolute; inset: 1px; display: block; border: 1px solid rgba(20,18,15,.62); border-radius: 4px; background: #ff642b; box-shadow: inset 0 0 14px rgba(255,255,255,.12); backface-visibility: hidden; }
.cubie-front { transform: translateZ(21px); background: #ff5a1f; }
.cubie-back { transform: rotateY(180deg) translateZ(21px); background: #9c2d08; }
.cubie-right { transform: rotateY(90deg) translateZ(21px); background: #fbf1df; }
.cubie-left { transform: rotateY(-90deg) translateZ(21px); background: #312d29; }
.cubie-top { transform: rotateX(90deg) translateZ(21px); background: #ff936a; }
.cubie-bottom { transform: rotateX(-90deg) translateZ(21px); background: #c83a0b; }
@keyframes stageDrift { 0%,100% { transform: rotateX(-20deg) rotateY(32deg) translateY(0); } 50% { transform: rotateX(-16deg) rotateY(42deg) translateY(-10px); } }
.rubik-note { display: none; }
.rubik-note strong { color: var(--orange); font-family: var(--display); font-size: 38px; line-height: 1; }
.rubik-note span { color: rgba(255,255,255,.5); font-size: 8px; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.rubik-status { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; color: rgba(20,18,15,.5); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }

/* Process */
.steps-grid { position: relative; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.step-card { position: relative; min-height: 290px; padding: 32px 26px 20px 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.step-card + .step-card { padding-left: 26px; }
.step-card:last-child { border-right: 0; }
.step-card:hover { border-color: var(--line); }
.step-num { margin-bottom: 54px; color: var(--orange); font-family: var(--display); font-size: 12px; }
.step-card h4 { margin-bottom: 12px; color: var(--ink); font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.step-card p { color: rgba(20,18,15,.66); font-size: 14px; line-height: 1.65; }

/* Partners */
.partners-track-container { margin-top: 44px; padding: 0; }
.partners-track-container::before { background: linear-gradient(90deg, var(--paper), transparent); }
.partners-track-container::after { background: linear-gradient(-90deg, var(--paper), transparent); }
.partners-track { gap: 12px; width: calc(230px * 20 + 12px * 20); animation-duration: 54s; }
.partner-logo-item { width: 230px; height: 112px; border: 1px solid rgba(20,18,15,.12); border-radius: 5px; background: #d2c7b9; backdrop-filter: none; box-shadow: inset 0 1px rgba(255,255,255,.28); }
.partner-logo-item:hover { transform: translateY(-3px); border-color: rgba(255,90,31,.62); background: #c8bbac; box-shadow: 0 12px 26px rgba(20,18,15,.1); }
.partner-logo-item img { max-width: 76%; max-height: 60%; filter: brightness(.16) contrast(1.3); opacity: .92; }
.partner-logo-item:hover img { filter: brightness(.08) contrast(1.4); transform: scale(1.025); }
@keyframes scrollPartnersRight { 0% { transform: translateX(calc(-230px * 10 - 12px * 10)); } 100% { transform: translateX(0); } }

/* CTA */
.cta-wrap { padding-bottom: 28px; border-bottom: 0; }
.cta-section { overflow: hidden; padding: 84px 7%; border: 0; border-radius: 8px; background: var(--orange); text-align: left; }
.cta-section::before { content: ''; position: absolute; width: 430px; height: 430px; right: -100px; bottom: -220px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; box-shadow: inset 0 0 0 85px rgba(255,255,255,.035), inset 0 0 0 170px rgba(255,255,255,.035); }
.b2b-alert-tag { margin-bottom: 26px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 100px; background: rgba(255,255,255,.12); color: white; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.b2b-alert-tag span { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: white; box-shadow: 0 0 0 4px rgba(255,255,255,.16); }
.cta-section h2 { max-width: 820px; color: white; font-family: var(--display); font-size: clamp(35px, 5vw, 64px); line-height: 1.05; letter-spacing: -.06em; text-transform: uppercase; }
.cta-subtitle { max-width: 850px; margin: 24px 0 36px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.75; }
.b2b-form { max-width: 900px; margin: 0; }
.form-inputs-row { gap: 8px; max-width: 780px; }
.form-input { min-width: 0; padding: 17px 19px; border: 1px solid rgba(255,255,255,.34); border-radius: 4px; background: rgba(108,26,0,.13); color: white; font-size: 13px; }
.form-input::placeholder { color: rgba(255,255,255,.68); }
.form-input:focus { border-color: white; background: rgba(108,26,0,.22); }
.law-agreement-box { justify-content: flex-start; margin: 18px 0 24px; color: rgba(255,255,255,.7); font-size: 11px; }
.law-agreement-box a { color: white; border-color: rgba(255,255,255,.6); }
.cta-section .btn { background: white; color: var(--ink); }
.cta-section .btn:hover { background: var(--ink); color: white; }
.cta-section .btn:disabled { background: rgba(255,255,255,.22); color: rgba(255,255,255,.55); }
.form-feedback { min-height: 20px; margin-top: 16px; color: white; font-size: 12px; font-weight: 700; }
.form-feedback.success::before { content: '✓ '; }
.form-feedback.error::before { content: '! '; }

/* Footer and overlays */
footer { padding: 34px 0; border-top: 0; background: var(--ink); color: rgba(255,255,255,.47); font-size: 10px; line-height: 1.6; }
.footer-flex { gap: 32px; }
.footer-link { color: rgba(255,255,255,.72); }
.modal-privacy { background: rgba(20,18,15,.68); }
.modal-content { border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: #1d1a17; }
.modal-content h3 { color: #ff7a48; font-family: var(--display); font-size: 18px; text-transform: uppercase; }
.modal-content p { color: rgba(255,255,255,.62); }
.close-modal-btn { border-radius: 100px; background: var(--orange); }
.cookie-banner { border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: rgba(20,18,15,.94); }
.cookie-btn { border-radius: 100px; }

@media (max-width: 900px) {
  .portfolio-section, .partners-section, .section-padding { padding: 84px 0; }
  .rubik-section { grid-template-columns: 1fr 340px; padding: 78px 42px 48px; }
  .rubik-section::before { left: 42px; }
  .rubik-visual { min-height: 330px; }
  .price-table tbody { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2) { border-right: 0; }
  .step-card:nth-child(3), .step-card:nth-child(4) { border-top: 1px solid var(--line); }
  .step-card:nth-child(3) { padding-left: 0; }
}

@media (max-width: 620px) {
  .portfolio-section, .partners-section, .section-padding { padding: 68px 0; }
  .section-title { font-size: clamp(29px, 9.2vw, 44px); }
  .carousel-track { grid-template-columns: 1fr; gap: 9px; }
  .portfolio-item { grid-template-rows: 180px auto; }
  .portfolio-item img { height: 180px; }
  .portfolio-meta { padding: 14px 13px; }
  .portfolio-meta h4 { font-size: 11px; }
  #prices { padding-top: 68px; }
  .catalog-showcase-link { grid-template-columns: 1fr 46px; min-height: 220px; padding: 24px 20px; }
  .catalog-showcase-image { display: none; }
  .catalog-showcase-link > i { width: 44px; height: 44px; }
  .tabs-container { top: 78px; }
  .price-table tbody { grid-template-columns: 1fr; }
  .price-table tr { min-height: 155px; }
  .rubik-section { grid-template-columns: 1fr; min-height: 690px; margin-inline: -18px; padding: 74px 22px 20px; }
  .rubik-section::before { top: 28px; left: 22px; }
  .rubik-copy h2 { font-size: clamp(31px, 10vw, 44px); }
  .rubik-visual { min-height: 350px; }
  .rubik-stage { width: 270px; height: 270px; scale: .63; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card, .step-card + .step-card { min-height: auto; padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .step-num { margin-bottom: 28px; }
  .cta-section { margin-inline: -18px; padding: 58px 22px; border-radius: 0; }
  .form-inputs-row { flex-direction: column; }
  .cookie-banner { bottom: 12px; padding: 14px; gap: 12px; flex-direction: column; align-items: stretch; }
  .footer-flex { align-items: flex-start; text-align: left; }
}

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