:root {
  --green: #8ee51d;
  --green-hot: #b8ff28;
  --green-dark: #3f8b0d;
  --ink: #171717;
  --muted: #666b61;
  --line: #e4e7df;
  --paper: #f8faf4;
  --wall: #d5d7d3;
  --wall-dark: #b9bdb6;
  --choco: #4b2b18;
  --choco-soft: #6d3f22;
  --gold-brown: #b9822c;
  --gold-light: #d7a04a;
  --stage: #f2f0ea;
  --stage-dark: #cfc9bd;
  --paint-red: #e33c32;
  --paint-blue: #2d6bd5;
  --paint-ochre: #d39724;
  --white: #ffffff;
  --soft: #eef5e6;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 154px;
  height: 60px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-action,
.button,
.footer a {
  text-decoration: none;
}

.header-action {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--ink);
  background: var(--green-hot);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100svh - 89px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 34px;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,.2)),
    url("assets/hero-bg.jpg") center/cover no-repeat;
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  display: block;
}

.wall-paint {
  position: absolute;
  z-index: 2;
  display: none;
  width: min(36vw, 560px);
  height: min(42vw, 620px);
  top: 11%;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.wall-paint::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9%;
  height: 74%;
  background:
    linear-gradient(180deg, transparent 0 7%, rgba(255, 255, 255, 0.34) 7% 10%, transparent 10% 14%),
    radial-gradient(ellipse at 12% 86%, transparent 0 9%, var(--paint-ochre) 10% 16%, transparent 17%),
    linear-gradient(98deg, var(--paint-red) 0 36%, var(--paint-blue) 36% 70%, var(--paint-ochre) 70% 100%);
  border-radius: 999px 58% 62% 999px / 76% 88% 72% 84%;
  clip-path: polygon(0 18%, 9% 12%, 24% 10%, 42% 4%, 63% 8%, 83% 15%, 100% 30%, 98% 72%, 84% 82%, 62% 88%, 38% 90%, 17% 84%, 0 75%);
  animation: wall-splash 4.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.wall-paint::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 3%;
  top: 31%;
  height: 52%;
  border-radius: 999px 54% 999px 62% / 70% 88% 64% 82%;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(255, 255, 255, 0.42) 12% 17%, transparent 17% 24%, rgba(255, 255, 255, 0.22) 24% 29%, transparent 29%),
    linear-gradient(94deg, rgba(227, 60, 50, 0.9), rgba(45, 107, 213, 0.84), rgba(211, 151, 36, 0.82));
  clip-path: polygon(0 35%, 8% 22%, 23% 18%, 43% 16%, 67% 20%, 88% 28%, 100% 42%, 96% 72%, 73% 80%, 48% 76%, 27% 86%, 8% 72%);
  opacity: 0.76;
  transform: rotate(-4deg);
  animation: wall-splash 5.6s cubic-bezier(0.45, 0, 0.2, 1) infinite reverse;
}

.wall-paint span {
  display: block;
  position: absolute;
  border-radius: 999px;
  background: inherit;
  opacity: 0.9;
  animation: brush-bristle 5.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.wall-paint span::before,
.wall-paint span::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.wall-paint span::before {
  left: 12%;
  top: -42%;
  width: 44%;
  height: 118%;
  opacity: 0.72;
}

.wall-paint span::after {
  right: 7%;
  bottom: -38%;
  width: 22%;
  height: 88%;
  opacity: 0.64;
}

.wall-paint span:nth-child(1) {
  --bristle-tilt: -4deg;
  left: 1%;
  top: 16%;
  width: 38%;
  height: 18px;
  background: var(--paint-ochre);
}

.wall-paint span:nth-child(2) {
  --bristle-tilt: 5deg;
  left: 34%;
  top: 50%;
  width: 58%;
  height: 24px;
  animation-delay: -1.3s;
  background: var(--paint-red);
}

.wall-paint span:nth-child(3) {
  --bristle-tilt: -3deg;
  left: 16%;
  top: 86%;
  width: 64%;
  height: 16px;
  animation-delay: -2.1s;
  background: var(--paint-blue);
}

.wall-paint-left {
  left: -14%;
  transform: rotate(-7deg);
}

.wall-paint-right {
  right: -13%;
  transform: scaleX(-1) rotate(-6deg);
}

@media (min-width: 1500px) {
  .hero {
    min-height: calc(100svh - 89px + 36px);
    padding-bottom: 82px;
  }

  .wall-paint {
    width: 520px;
    height: 610px;
  }

  .wall-paint-left {
    left: -170px;
  }

  .wall-paint-right {
    right: -160px;
  }

  .paint-cans {
    bottom: 34px;
  }
}

.hero-content {
  position: relative;
  align-self: start;
  z-index: 7;
  max-width: min(480px, 33vw);
  margin-top: clamp(16px, 4vh, 66px);
  color: var(--ink);
}

.hero-content .eyebrow {
  color: var(--green-dark);
}

.hero-kicker {
  position: absolute;
  left: 50%;
  top: clamp(28px, 5vw, 58px);
  z-index: 8;
  width: min(560px, 72vw);
  text-align: center;
  transform: translateX(-50%);
}

.hero-kicker mark {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--green-hot);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero-content h1 {
  text-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 480px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  color: #34392f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.hero-side-copy {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: clamp(170px, 23vh, 250px);
  z-index: 7;
  width: min(350px, 24vw);
  padding: 16px 18px;
  border: 2px solid rgba(23, 23, 23, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 6px 6px 0 rgba(184, 255, 40, 0.72);
  backdrop-filter: blur(8px);
}

.hero-side-copy .hero-lead {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.55;
}

 .hero-watermark {
  position: absolute;
  left: 50%;
  top: 34%;
  z-index: 2;
  width: clamp(520px, 48vw, 860px);
  aspect-ratio: 1.95 / 1;
  display: grid;
  place-items: center;
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-4deg);
}

/* Тонкая анимированная обводка вокруг логотипа отключена. */
.hero-watermark::before,
.hero-watermark::after {
  content: none;
  display: none;
}

.hero-watermark .logo-splash {
  position: absolute;
  z-index: 0;
  width: 118%;
  max-width: none;
  height: auto;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
  animation: watermark-splash-cycle 14s ease-in-out infinite;
}

.hero-watermark .watermark-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(360px, 33vw, 620px);
  max-width: 72%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: watermark-logo-cycle 14s ease-in-out infinite;
}

.hero-splash-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  filter: brightness(1.2) saturate(1.2);
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--green-hot);
  box-shadow: 6px 6px 0 var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(23, 23, 23, 0.16);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 2;
  opacity: 0.96;
}

.hero-media::before,
.hero-media::after {
  content: none;
}

.brush-video-field {
  display: none;
  position: absolute;
  inset: -8% -4% -2%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.brush-video {
  --brush-x: 0%;
  --brush-y: 0%;
  --brush-scale: 1;
  --brush-rotate: 0deg;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: center;
  transform: translate3d(var(--brush-x), var(--brush-y), 0) scale(var(--brush-scale)) rotate(var(--brush-rotate));
  animation: brush-flow 8s ease-in-out infinite;
}

.brush-ochre {
  --brush-x: -7%;
  --brush-y: 14%;
  --brush-scale: 1.18;
  --brush-rotate: -2deg;
  filter: sepia(1) saturate(5) hue-rotate(350deg) brightness(0.95) contrast(1.2);
}

.brush-red {
  --brush-x: 10%;
  --brush-y: -2%;
  --brush-scale: 1.08;
  --brush-rotate: 2deg;
  opacity: 0.78;
  filter: sepia(1) saturate(8) hue-rotate(315deg) brightness(0.92) contrast(1.28);
  animation-delay: -2.4s;
}

.brush-blue {
  --brush-x: 18%;
  --brush-y: 12%;
  --brush-scale: 1.22;
  --brush-rotate: 4deg;
  opacity: 0.72;
  filter: sepia(1) saturate(7) hue-rotate(168deg) brightness(0.9) contrast(1.24);
  animation-delay: -4.8s;
}

.hero-media::before {
  --tilt: -9deg;
  right: 2%;
  top: 28%;
  width: min(64vw, 900px);
  height: 150px;
  background:
    radial-gradient(ellipse at 8% 42%, transparent 0 18px, var(--paint-ochre) 19px 100%),
    radial-gradient(ellipse at 22% 25%, rgba(255,255,255,0.34) 0 9px, transparent 11px),
    linear-gradient(90deg, transparent 0 2%, var(--paint-ochre) 2% 48%, var(--paint-red) 48% 72%, var(--paint-blue) 72% 100%);
  border-radius: 999px 78% 92% 999px / 86% 999px 74% 92%;
  transform: rotate(-9deg);
  box-shadow: 0 24px 34px rgba(190, 118, 20, 0.26);
  animation: liquid-ribbon 5.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-media::after {
  --tilt: 5deg;
  right: 22%;
  top: 57%;
  width: min(52vw, 720px);
  height: 110px;
  background: var(--paint-blue);
  border-radius: 999px 86% 999px 82% / 78% 999px 84% 999px;
  transform: rotate(5deg);
  opacity: 0.96;
  animation: liquid-ribbon 5.9s cubic-bezier(0.45, 0, 0.2, 1) infinite reverse;
}

.splash-field {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.splash-field::before,
.splash-field::after {
  content: none;
  position: absolute;
  inset: 8% 3% 10%;
  background:
    radial-gradient(ellipse at 7% 35%, var(--paint-ochre) 0 34px, transparent 37px),
    radial-gradient(ellipse at 16% 61%, var(--paint-red) 0 30px, transparent 33px),
    radial-gradient(ellipse at 25% 46%, var(--paint-blue) 0 44px, transparent 47px),
    radial-gradient(ellipse at 37% 28%, var(--paint-ochre) 0 42px, transparent 45px),
    radial-gradient(ellipse at 49% 64%, var(--paint-blue) 0 38px, transparent 41px),
    radial-gradient(ellipse at 61% 38%, var(--paint-red) 0 50px, transparent 53px),
    radial-gradient(ellipse at 75% 72%, var(--paint-ochre) 0 36px, transparent 39px),
    radial-gradient(ellipse at 91% 51%, var(--paint-blue) 0 42px, transparent 45px);
  opacity: 0.72;
  animation: particle-drift 5.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.splash-field::after {
  inset: 12% 0 0 0;
  transform: scaleX(-1);
  opacity: 0.72;
  animation-duration: 6.4s;
  animation-delay: -2.4s;
}

.splash-dot,
.splash-streak {
  display: none;
  position: absolute;
  background: var(--paint-ochre);
  filter: drop-shadow(0 12px 18px rgba(0, 20, 4, 0.28));
}

.splash-dot {
  border-radius: 999px 78% 92% 999px / 88% 999px 80% 94%;
  animation: splash-pop 5.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.splash-streak {
  border-radius: 999px 84% 92% 999px / 82% 999px 78% 90%;
  animation: splash-sweep 5.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.splash-dot::before,
.splash-dot::after,
.splash-streak::before,
.splash-streak::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: inherit;
}

.splash-dot::before {
  left: 14%;
  top: -24%;
  width: 46%;
  height: 70%;
  opacity: 0.68;
}

.splash-dot::after {
  right: 9%;
  bottom: -26%;
  width: 28%;
  height: 62%;
  opacity: 0.6;
}

.splash-streak::before {
  left: 8%;
  top: -26%;
  width: 34%;
  height: 72%;
  opacity: 0.7;
}

.splash-streak::after {
  right: 10%;
  bottom: -22%;
  width: 26%;
  height: 62%;
  opacity: 0.62;
}

.dot-a {
  right: 78%;
  top: 18%;
  width: 86px;
  height: 46px;
  --dot-tilt: -16deg;
}

.dot-b {
  right: 64%;
  top: 28%;
  width: 118px;
  height: 64px;
  background: var(--paint-blue);
  --dot-tilt: 13deg;
  animation-delay: -0.8s;
}

.dot-c {
  right: 10%;
  top: 41%;
  width: 72px;
  height: 38px;
  --dot-tilt: -9deg;
  animation-delay: -1.5s;
}

.dot-d {
  right: 48%;
  top: 52%;
  width: 106px;
  height: 58px;
  background: var(--paint-red);
  --dot-tilt: 18deg;
  animation-delay: -2.2s;
}

.dot-e {
  right: 30%;
  top: 66%;
  width: 76px;
  height: 42px;
  background: var(--paint-red);
  --dot-tilt: -14deg;
  animation-delay: -2.9s;
}

.dot-f {
  right: 88%;
  top: 37%;
  width: 66px;
  height: 34px;
  background: var(--paint-blue);
  --dot-tilt: 11deg;
  animation-delay: -3.3s;
}

.dot-g {
  right: 20%;
  top: 12%;
  width: 54px;
  height: 30px;
  background: var(--paint-red);
  --dot-tilt: -22deg;
  animation-delay: -0.4s;
}

.dot-h {
  right: 54%;
  top: 60%;
  width: 82px;
  height: 44px;
  background: var(--paint-blue);
  --dot-tilt: 15deg;
  animation-delay: -1.9s;
}

.dot-i {
  right: 6%;
  top: 75%;
  width: 98px;
  height: 52px;
  background: var(--paint-ochre);
  --dot-tilt: -10deg;
  animation-delay: -2.7s;
}

.streak-a {
  --tilt: -8deg;
  right: 55%;
  top: 31%;
  width: 54%;
  height: 176px;
  transform: rotate(-8deg);
  background: var(--paint-ochre);
}

.streak-b {
  --tilt: 9deg;
  right: 29%;
  top: 48%;
  width: 56%;
  height: 148px;
  background: var(--paint-red);
  transform: rotate(9deg);
  animation-delay: -1.4s;
}

.streak-c {
  --tilt: -15deg;
  right: 3%;
  top: 63%;
  width: 50%;
  height: 126px;
  background: var(--paint-blue);
  transform: rotate(-15deg);
  animation-delay: -2.6s;
}

.streak-d {
  --tilt: -21deg;
  right: 72%;
  top: 19%;
  width: 48%;
  height: 112px;
  background: var(--paint-ochre);
  transform: rotate(-21deg);
  animation-delay: -0.9s;
}

.streak-e {
  --tilt: 4deg;
  right: 8%;
  top: 27%;
  width: 34%;
  height: 210px;
  background: var(--paint-red);
  transform: rotate(4deg);
  opacity: 0.88;
  animation-delay: -1.9s;
}

.streak-f {
  --tilt: -4deg;
  right: 0;
  top: 42%;
  width: 31%;
  height: 300px;
  background: var(--paint-blue);
  transform: rotate(-4deg);
  opacity: 0.82;
  animation-delay: -3.1s;
}

.paint-cans {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(20px, 2vw, 45px);
  z-index: 5;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  width: min(78vw, 960px);
  overflow: visible;
  transform: translateX(-50%);
}

.can-slider {
  overflow: hidden;
  padding: 12px 2px 22px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.can-track {
  --index: 0;
  display: flex;
  gap: 12px;
  transform: translateX(calc(var(--index) * -1 * (100% / 4)));
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1);
  will-change: transform;
}

.can-slide {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 4);
  display: grid;
  place-items: end center;
  min-height: clamp(210px, 22vw, 350px);
  transform: translateY(0);
  animation: can-float-side 4.8s ease-in-out infinite;
  cursor: pointer;
  outline: none;
}

.can-slide:nth-child(2n) {
  animation-delay: -1.6s;
}

.can-slide:nth-child(3n) {
  animation-delay: -2.8s;
}

.can-slide.is-featured {
  flex-basis: calc((100% - 36px) / 3.6);
}

.paint-can {
  display: block;
  width: min(100%, 310px);
  max-height: clamp(210px, 22vw, 350px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 24px rgba(23, 23, 23, 0.28));
  user-select: none;
}

.can-info {
  display: none;
}

.can-detail {
  grid-column: 2;
  width: min(100%, 430px);
  justify-self: center;
  margin-top: -2px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 6px 6px 0 var(--ink);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.paint-cans:has(.can-slide:hover) .can-detail,
.paint-cans:has(.can-slide:focus-visible) .can-detail,
.paint-cans:has(.can-slide.is-open) .can-detail,
.can-detail.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.can-detail strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.1;
}

.can-detail p {
  margin: 0;
  color: #3d4238;
  font-size: 12px;
  line-height: 1.35;
}

.can-slide:hover,
.can-slide:focus-visible,
.can-slide.is-open {
  z-index: 9;
}

.can-slide:hover .paint-can,
.can-slide:focus-visible .paint-can,
.can-slide.is-open .paint-can {
  filter: drop-shadow(0 22px 24px rgba(23, 23, 23, 0.32));
}

.slider-btn {
  position: relative;
  top: clamp(34px, 4vw, 58px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.slider-btn:hover {
  background: var(--green-hot);
  transform: translate(-1px, -1px);
}

@keyframes brush-flow {
  0%,
  100% {
    transform: translate3d(calc(var(--brush-x) - 2%), calc(var(--brush-y) + 1%), 0) scale(var(--brush-scale)) rotate(var(--brush-rotate));
    opacity: 0.66;
  }

  42% {
    transform: translate3d(calc(var(--brush-x) + 3%), calc(var(--brush-y) - 2%), 0) scale(calc(var(--brush-scale) + 0.04)) rotate(calc(var(--brush-rotate) + 1.5deg));
    opacity: 0.94;
  }

  72% {
    transform: translate3d(calc(var(--brush-x) + 1%), calc(var(--brush-y) + 3%), 0) scale(calc(var(--brush-scale) + 0.015)) rotate(calc(var(--brush-rotate) - 1deg));
    opacity: 0.78;
  }
}

@keyframes watermark-paint-cycle {
  0% {
    opacity: 0;
    transform: scale(0.82) rotate(-4deg);
  }

  8% {
    opacity: 1;
    transform: scale(0.96) rotate(0deg);
  }

  14%,
  76% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  88%,
  100% {
    opacity: 0;
    transform: scale(1.08) rotate(4deg);
  }
}

@keyframes watermark-logo-cycle {
  0%,
  9% {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }

  16%,
  76% {
    opacity: 0.96;
    transform: translateY(0) scale(1);
  }

  88%,
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(1.04);
  }
}

@keyframes watermark-splash-cycle {
  0%,
  7% {
    opacity: 0;
    transform: scale(0.82) rotate(-3deg);
  }

  15%,
  76% {
    opacity: 0.9;
    transform: scale(1) rotate(0deg);
  }

  88%,
  100% {
    opacity: 0;
    transform: scale(1.08) rotate(3deg);
  }
}

@keyframes watermark-ring {
  0%,
  4% {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }

  12%,
  72% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  86%,
  100% {
    opacity: 0;
    transform: scale(1.14) rotate(5deg);
  }
}

@keyframes splash-pop {
  0%,
  100% {
    transform: translate3d(-10px, 8px, 0) rotate(var(--dot-tilt, 0deg)) scaleX(0.94) scaleY(0.86);
    opacity: 0.64;
  }

  35% {
    transform: translate3d(18px, -14px, 0) rotate(calc(var(--dot-tilt, 0deg) + 3deg)) scaleX(1.24) scaleY(1.08);
    opacity: 1;
  }

  68% {
    transform: translate3d(36px, 12px, 0) rotate(calc(var(--dot-tilt, 0deg) - 2deg)) scaleX(1.08) scaleY(0.98);
    opacity: 0.86;
  }
}

@keyframes splash-sweep {
  0%,
  100% {
    opacity: 0.68;
    transform: translate3d(-14px, 4px, 0) rotate(var(--tilt, 0deg)) scaleX(0.94) scaleY(0.92);
  }

  50% {
    opacity: 1;
    transform: translate3d(34px, -18px, 0) rotate(calc(var(--tilt, 0deg) + 2deg)) scaleX(1.16) scaleY(1.1);
  }
}

@keyframes liquid-ribbon {
  0%,
  100% {
    transform: translate3d(-16px, -5px, 0) rotate(var(--tilt, -9deg)) scaleX(0.92);
    opacity: 0.72;
  }

  45% {
    transform: translate3d(48px, -22px, 0) rotate(var(--tilt, -9deg)) scaleX(1.1);
    opacity: 0.98;
  }

  72% {
    transform: translate3d(18px, 8px, 0) rotate(var(--tilt, -9deg)) scaleX(1);
    opacity: 0.86;
  }
}

@keyframes particle-drift {
  0%,
  100% {
    transform: translate3d(-18px, 6px, 0) scale(0.96);
    opacity: 0.62;
  }

  42% {
    transform: translate3d(34px, -18px, 0) scale(1.05);
    opacity: 1;
  }

  72% {
    transform: translate3d(12px, 10px, 0) scale(0.99);
    opacity: 0.82;
  }
}

@keyframes wall-splash {
  0%,
  100% {
    transform: translate3d(-12px, 6px, 0) scale(0.96);
    opacity: 0.86;
  }

  50% {
    transform: translate3d(18px, -10px, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes paint-drip {
  0%,
  100% {
    transform: translate3d(-8px, 0, 0) scaleX(0.92) scaleY(0.9);
    transform-origin: top;
    opacity: 0.72;
  }

  50% {
    transform: translate3d(14px, -6px, 0) scaleX(1.08) scaleY(1.04);
    transform-origin: top;
    opacity: 0.95;
  }
}

@keyframes brush-bristle {
  0%,
  100% {
    opacity: 0.52;
    transform: translate3d(-12px, 2px, 0) rotate(var(--bristle-tilt, 0deg)) scaleX(0.92);
  }

  50% {
    opacity: 0.92;
    transform: translate3d(14px, -3px, 0) rotate(var(--bristle-tilt, 0deg)) scaleX(1.08);
  }
}

@keyframes can-float-main {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(0deg);
  }
}

@keyframes can-float-side {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.paint-shelf {
  position: absolute;
  right: clamp(24px, 7vw, 92px);
  bottom: 11%;
  width: min(42vw, 560px);
  height: min(42vw, 520px);
}

.bucket {
  position: absolute;
  display: block;
  width: 34%;
  aspect-ratio: 0.78;
  border: 10px solid var(--ink);
  border-top-width: 18px;
  border-radius: 10px 10px 24px 24px;
  background: var(--white);
  box-shadow: 0 28px 60px rgba(23, 23, 23, 0.18);
  z-index: 2;
}

.bucket::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: -28px;
  height: 22px;
  border: 6px solid var(--ink);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.bucket::after {
  content: "DW";
  position: absolute;
  inset: 31% 13% auto;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 56px);
  font-weight: 900;
  text-align: center;
}

.bucket-white {
  right: 32%;
  bottom: 8%;
  transform: rotate(-8deg);
}

.bucket-green {
  right: 8%;
  bottom: 18%;
  background: linear-gradient(#ffffff 0 38%, var(--green) 38% 100%);
  transform: rotate(8deg);
}

.bucket-black {
  right: 50%;
  bottom: 22%;
  background: linear-gradient(#ffffff 0 38%, #202020 38% 100%);
  transform: rotate(-14deg);
}

.hero-card {
  position: relative;
  align-self: center;
  z-index: 3;
  max-width: 360px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 10px 10px 0 rgba(23, 23, 23, 0.92), 0 24px 70px rgba(23, 23, 23, 0.11);
  transform: translateY(-34px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  margin: 8px 0 10px;
  font-size: 30px;
  line-height: 1.05;
}

.hero-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-badge {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(88px, 9vw, 140px);
  z-index: 6;
  width: min(300px, 26vw);
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: -8px 8px 0 var(--green-hot);
}

.hero-badge span {
  display: block;
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-badge strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1;
}

.hero-badge p {
  margin: 0;
  color: #3d4238;
  font-size: 13px;
  line-height: 1.45;
}

.chat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: var(--green-hot);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.chat-link:hover {
  transform: translate(-1px, -1px);
}

.stats,
.section,
.contact,
.contacts-map,
.footer {
  padding-left: clamp(18px, 5vw, 72px);
  padding-right: clamp(18px, 5vw, 72px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  position: relative;
  padding-top: clamp(24px, 3vw, 42px);
  padding-bottom: clamp(24px, 3vw, 42px);
  overflow: hidden;
  background: linear-gradient(135deg, #f8fff0 0%, #ffffff 48%, #eef9df 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(22, 24, 20, 0.12);
}

.stats div {
  position: relative;
  min-height: 126px;
  padding: clamp(20px, 2.5vw, 30px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 255, 222, 0.94));
  border: 2px solid rgba(22, 24, 20, 0.9);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(22, 24, 20, 0.12);
}

.stats div::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -38px;
  width: 118px;
  height: 72px;
  background: var(--green-hot);
  border-radius: 58% 42% 46% 54% / 56% 48% 52% 44%;
  opacity: 0.28;
  transform: rotate(-12deg);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 0.95;
  letter-spacing: 0;
}

.stats span {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.45;
}

.advantage-strip {
  padding: clamp(54px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 20%, rgba(227, 60, 50, 0.13), transparent 24%),
    radial-gradient(circle at 92% 72%, rgba(45, 107, 213, 0.14), transparent 26%),
    linear-gradient(135deg, #ffffff, #f5f1e7);
}

.advantage-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
}

.advantage-window {
  overflow: hidden;
  padding: 10px 4px 18px;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.advantage-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.45, 0, 0.2, 1);
  will-change: transform;
}

.advantage-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 230px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 8px 8px 0 var(--ink);
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.advantage-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.advantage-btn:hover {
  background: var(--green-hot);
  transform: translate(-1px, -1px);
}

.section {
  padding-top: clamp(66px, 8vw, 108px);
  padding-bottom: clamp(66px, 8vw, 108px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.swatch {
  display: block;
  width: 100%;
  height: 92px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.swatch.white {
  background: linear-gradient(135deg, #ffffff, #edf1ea);
}

.swatch.green {
  background: linear-gradient(135deg, #eaffcf, var(--green-hot) 45%, var(--green));
}

.swatch.dark {
  background: linear-gradient(135deg, #5b5b55, #151515);
}

.product-card h3,
.quality-list h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.product-card p,
.quality-copy p,
.quality-list p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.product-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #383d35;
  line-height: 1.8;
}

.product-slider {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}

.product-window {
  overflow: hidden;
  padding: 10px 4px 30px;
}

.product-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.product-slide {
  position: relative;
  display: grid;
  grid-template-rows: 250px auto auto auto;
  flex: 0 0 calc((100% - 54px) / 4);
  min-height: 430px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(21, 21, 21, 0.08);
  cursor: pointer;
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-slide:hover,
.product-slide:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(136, 255, 0, 0.65);
  box-shadow: 0 24px 54px rgba(21, 21, 21, 0.14);
}

.product-slide img {
  align-self: end;
  justify-self: center;
  width: 100%;
  max-width: 260px;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(15, 18, 12, 0.18));
}

.product-tag {
  justify-self: start;
  margin-top: 14px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--green-hot);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-slide h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.1;
}

.product-slide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pack-row,
.product-modal-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pack-row span,
.product-modal-packs span {
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--green-hot);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--ink);
}

.product-slider-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-slider-btn:hover {
  transform: translateY(-2px);
  background: var(--green-hot);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 14, 10, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  width: min(1040px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 44px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 9px 9px 0 var(--green-hot), 0 30px 100px rgba(0, 0, 0, 0.38);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.product-modal-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 8px;
  background: linear-gradient(150deg, #f8faf4, #ffffff);
}

.product-modal-image {
  width: min(100%, 440px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 26px 28px rgba(15, 18, 12, 0.2));
}

.product-modal-copy h3 {
  margin: 12px 0 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}

.product-modal-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.product-modal-packs {
  margin: 24px 0 28px;
}

.product-modal-packs span {
  padding: 12px 16px;
  font-size: 18px;
}

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

.product-modal-columns div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf7;
}

.product-modal-columns h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.product-modal-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #383d35;
  line-height: 1.8;
}

body.modal-open {
  overflow: hidden;
}

.quality {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.quality .eyebrow {
  color: var(--green);
}

.quality-copy p,
.quality-list p {
  color: #cfd5c9;
}

.quality-list {
  display: grid;
  gap: 14px;
}

.quality-list div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.partners {
  position: relative;
  background: var(--soft);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partner-item {
  min-height: 168px;
  padding: 24px;
  background: var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  padding-top: clamp(66px, 8vw, 108px);
  padding-bottom: clamp(66px, 8vw, 108px);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
  font: inherit;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.footer img {
  width: 128px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.footer a {
  color: var(--ink);
  font-weight: 900;
}

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

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
    padding-bottom: 44px;
  }

  .hero-kicker {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    order: 1;
    margin: 0 0 18px;
    transform: none;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-watermark {
    display: none;
  }

  .hero-splash-frame {
    opacity: 0.36;
  }

  .hero-side-copy {
    position: relative;
    right: auto;
    top: auto;
    order: 3;
    width: 100%;
    margin: 6px 0 0;
    box-shadow: 5px 5px 0 rgba(184, 255, 40, 0.7);
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: 400px;
    order: 4;
  }

  .hero::before {
    background-size: 64px 64px;
    opacity: 0.72;
  }

  .wall-paint {
    top: 20%;
    width: 64vw;
    height: 500px;
  }

  .wall-paint-left {
    left: -24%;
  }

  .wall-paint-right {
    right: -22%;
  }

  .splash-field {
    inset: 0;
    width: 100%;
  }

  .hero-media::before {
    right: 3%;
    top: 20%;
    width: min(92vw, 520px);
    height: 96px;
  }

  .hero-media::after {
    right: 18%;
    top: 50%;
    width: min(70vw, 360px);
    height: 62px;
  }

  .paint-cans {
    left: 50%;
    right: auto;
    bottom: 40px;
    width: min(88vw, 700px);
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
    transform: translateX(-50%);
  }

  .can-track {
    transform: translateX(calc(var(--index) * -1 * (100% / 3)));
  }

  .can-slide,
  .can-slide.is-featured {
    flex-basis: calc((100% - 24px) / 3);
    min-height: 250px;
  }

  .paint-can {
    max-height: 250px;
  }

  .slider-btn {
    top: 22px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .streak-a {
    width: 70%;
    height: 112px;
  }

  .streak-b {
    height: 86px;
  }

  .streak-c {
    height: 72px;
  }

  .streak-d {
    height: 66px;
  }

  .paint-shelf {
    inset: 0;
    width: min(520px, 100%);
    height: 310px;
    margin-left: auto;
  }

  .hero-card {
    max-width: none;
    order: 3;
    transform: translateY(-16px);
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    order: 5;
    width: 100%;
    margin-top: 12px;
    padding: 13px 14px;
  }

  .hero-badge strong {
    font-size: 22px;
  }

  .stats,
  .product-grid,
  .partner-grid,
  .quality,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .product-slider {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .product-slide {
    flex-basis: calc((100% - 36px) / 3);
    grid-template-rows: 220px auto auto auto;
    min-height: 400px;
    padding: 16px;
  }

  .product-slide img {
    max-height: 220px;
  }

  .product-slider-btn {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

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

  .product-modal-media {
    min-height: 300px;
  }

  .advantage-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .advantage-card {
    flex-basis: calc((100% - 16px) / 2);
    min-height: 220px;
  }

  .advantage-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
  }

  .brand img {
    width: 94px;
    height: 38px;
  }

  .header-action {
    justify-self: end;
    margin-left: auto;
    padding: 9px 10px;
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 11px;
    white-space: nowrap;
  }

  .nav {
    grid-column: 1 / -1;
    gap: 16px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 16px;
    padding: 28px 14px 30px;
  }

  .hero-kicker {
    order: 1;
    width: 100%;
    margin: 0;
    font-size: 11px;
  }

  .hero-kicker mark {
    margin-bottom: 6px;
  }

  .hero-side-copy {
    padding: 14px 16px;
  }

  .hero-side-copy .hero-lead {
    font-size: 14px;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    margin: 0;
  }

  .hero-watermark {
    display: none;
  }

  .hero-splash-frame {
    display: block;
    opacity: 0.28;
    filter: brightness(1.08) saturate(1.08);
    object-fit: fill;
    object-position: center;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.03;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero::before {
    content: none;
  }

  .wall-paint {
    top: 32%;
    width: 92vw;
    height: 310px;
    opacity: 0.5;
  }

  .wall-paint span:nth-child(1) {
    width: 174px;
    height: 32px;
  }

  .wall-paint span:nth-child(2) {
    width: 210px;
    height: 38px;
  }

  .wall-paint span:nth-child(3) {
    width: 162px;
    height: 28px;
  }

  .wall-paint-left {
    left: -58%;
  }

  .wall-paint-right {
    right: -58%;
  }

  .splash-field {
    inset: 0;
    width: 100%;
  }

  .hero-media::before {
    height: 74px;
  }

  .hero-media::after {
    height: 48px;
  }

  .hero-media {
    order: 3;
    height: 330px;
    margin-top: 0;
  }

  .paint-cans {
    left: 50%;
    right: auto;
    bottom: 28px;
    width: calc(100vw - 20px);
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 4px;
    transform: translateX(-50%);
  }

  .can-slider {
    padding: 8px 0 20px;
  }

  .can-track {
    gap: 12px;
  }

  .can-slide,
  .can-slide.is-featured {
    flex-basis: 100%;
    min-height: 240px;
  }

  .paint-can {
    max-width: min(78vw, 310px);
    max-height: 250px;
  }

  .slider-btn {
    top: 12px;
    width: 32px;
    height: 32px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 19px;
  }

  .splash-dot {
    transform-origin: center;
  }

  .dot-b,
  .dot-d {
    width: 72px;
    height: 40px;
  }

  .streak-a {
    right: 2%;
    top: 22%;
    width: 76%;
    height: 84px;
  }

  .streak-b {
    right: 30%;
    width: 52%;
    height: 66px;
  }

  .streak-d {
    right: 42%;
    width: 46%;
    height: 58px;
  }

  .hero-card {
    padding: 18px;
    transform: translateY(0);
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    order: 4;
    width: 100%;
    margin-top: 10px;
  }

  .hero-card strong {
    font-size: 24px;
  }

  .stats,
  .product-grid,
  .partner-grid,
  .quality,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-section .section-head {
    margin-bottom: 20px;
  }

  .product-slider {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .product-window {
    padding-bottom: 18px;
  }

  .product-slide {
    flex-basis: 100%;
    grid-template-rows: 220px auto auto auto;
    min-height: 390px;
    padding: 16px;
  }

  .product-slide img {
    max-width: min(74vw, 280px);
    max-height: 220px;
  }

  .product-slide h3 {
    font-size: 20px;
  }

  .pack-row span,
  .product-modal-packs span {
    padding: 8px 9px;
    font-size: 13px;
  }

  .product-slider-btn {
    width: 34px;
    height: 34px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 20px;
  }

  .product-modal {
    padding: 14px;
  }

  .product-modal-panel {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    padding: 48px 18px 22px;
  }

  .product-modal-media {
    min-height: 0;
    height: 220px;
    overflow: hidden;
    margin-bottom: 18px;
  }

  .product-modal-image {
    width: min(100%, 260px);
    max-height: 210px;
  }

  .product-modal-copy h3 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.02;
  }

  .product-modal-text {
    font-size: 15px;
    line-height: 1.55;
  }

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

  .advantage-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .advantage-window {
    padding-bottom: 14px;
  }

  .advantage-card {
    flex-basis: 100%;
    min-height: 185px;
    padding: 22px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .advantage-card h3 {
    font-size: 22px;
  }

  .advantage-btn {
    width: 32px;
    height: 32px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 18px;
  }

  .stats div,
  .partner-item {
    min-height: auto;
  }

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 10px;
  }

  .header-action {
    padding-inline: 8px;
    font-size: 10px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero {
    padding-inline: 10px;
  }

  h1 {
    font-size: clamp(26px, 8.4vw, 34px);
  }

  .hero-media {
    height: 300px;
  }

  .paint-can {
    max-height: 228px;
  }

  .product-slider {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  .product-slide {
    min-height: 372px;
    padding: 14px;
  }

  .product-slide img {
    max-height: 205px;
  }

  .product-slide h3 {
    font-size: 18px;
  }

  .product-slider-btn,
  .advantage-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .product-modal-panel {
    box-shadow: 5px 5px 0 var(--green-hot), 0 24px 70px rgba(0, 0, 0, 0.34);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-dot,
  .splash-streak,
  .can-slide {
    animation: none;
  }
}



/* === Requested hero corrections === */
.hero {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04)),
    url("assets/decorway-logo-new.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Remove all decorative circles/rings around the central logo. */
.hero-watermark::before,
.hero-watermark::after,
.hero-media::before,
.hero-media::after,
.splash-field,
.splash-field::before,
.splash-field::after,
.splash-dot,
.splash-streak {
  content: none !important;
  display: none !important;
}

/* Keep splash behind logo and make it readable over the supplied background. */
.hero-watermark .logo-splash {
  width: 122% !important;
  opacity: 0;
  filter:
    contrast(1.22)
    drop-shadow(0 2px 2px rgba(0,0,0,.35))
    drop-shadow(0 14px 22px rgba(0,0,0,.22)) !important;
  animation: watermark-splash-cycle 14s ease-in-out infinite !important;
}

.logo-splash{filter:contrast(1.35) brightness(.75);}
.watermark-ring,.hero-ring,.hero-orbit,.hero-watermark::before,.hero-watermark::after{display:none!important;}

/* Only the left hero heading: "Краски для ремонта и чистовой отделки" */
#hero-title {
  color: #41424C !important;
}


/* === Technical task updates === */
.brand img,
.footer img {
  background: transparent !important;
  border-radius: 0 !important;
}

.advantage-strip {
  background: linear-gradient(90deg, #F5F5F5 0%, #D8EDF0 52%, #D3D3D3 100%) !important;
}

.block-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.advantage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
}

.advantage-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(1.14) saturate(1.12);
}

.advantage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0.88) 66%, rgba(255,255,255,0.94));
}

.advantage-card h3,
.advantage-card p {
  position: relative;
}

.quality-visual {
  display: none;
}

.quality-visual img {
  height: 100%;
  min-height: 340px;
}

.quality {
  position: relative;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr) !important;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink) !important;
}

.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/production-block.png") center/cover no-repeat;
  filter: brightness(1.25) saturate(1.16);
}

.quality::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 8, 0.86), rgba(9, 11, 8, 0.58)),
    linear-gradient(180deg, rgba(9, 11, 8, 0.18), rgba(9, 11, 8, 0.72));
}

.quality-copy,
.quality-list {
  position: relative;
  z-index: 1;
}

.partner-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 230px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.partner-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  border-radius: 0;
  filter: brightness(1.18) saturate(1.36) contrast(1.08);
}

.partner-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.66)),
    linear-gradient(90deg, rgba(18, 36, 18, 0.18), rgba(18, 36, 18, 0));
}

.partner-item span {
  position: relative;
  z-index: 1;
}

.contacts-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(66px, 8vw, 108px);
  padding-bottom: clamp(66px, 8vw, 108px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 13, 15, 0.82), rgba(10, 13, 15, 0.42)),
    url("assets/contact-bg.webp") center/cover no-repeat;
}

.contacts-map-copy {
  position: relative;
  z-index: 1;
}

.contacts-map-copy .eyebrow {
  color: var(--green-hot);
}

.contacts-map-copy h2 {
  margin-bottom: 22px;
}

.contacts-map-copy address {
  max-width: 560px;
  font-style: normal;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.45;
}

.contacts-map-copy address a {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-hot);
  text-decoration: none;
}

.map-widget {
  position: relative;
  z-index: 1;
  min-height: 360px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--green-hot);
}

.map-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    url("assets/contact-form-bg.png") center/cover no-repeat !important;
  isolation: isolate;
}

.contact::before {
  content: none;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.can-track,
.advantage-track,
.product-track {
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1);
}

@media (max-width: 980px) {
  .quality {
    grid-template-columns: 1fr !important;
  }

  .quality-visual {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .contacts-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .quality,
  .contacts-map {
    grid-template-columns: 1fr !important;
  }

  .quality {
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 54px;
    background-position: center top !important;
  }

  .quality::before {
    background-position: center top;
    filter: brightness(1.18) saturate(1.12);
  }

  .quality::after {
    background:
      linear-gradient(180deg, rgba(9, 11, 8, 0.86), rgba(9, 11, 8, 0.68)),
      linear-gradient(90deg, rgba(9, 11, 8, 0.72), rgba(9, 11, 8, 0.48));
  }

  .quality-copy {
    max-width: 100%;
  }

  .quality-copy h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 0.98;
  }

  .quality-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .quality-list {
    gap: 10px;
  }

  .quality-list div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
  }

  .quality-list h3 {
    font-size: 21px;
    line-height: 1.1;
  }

  .quality-list p {
    font-size: 14px;
    line-height: 1.48;
  }

  .advantage-card {
    min-height: 330px;
  }

  .map-widget,
  .map-widget iframe {
    min-height: 310px;
  }
}


.map-fallback {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--green-hot);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04)),
    url("assets/decorway-logo-new.png") center/cover no-repeat !important;
}

/* === Advantages: full opacity and stronger text contrast === */
.advantage-card {
  background: #ffffff !important;
  opacity: 1 !important;
}

.advantage-card::before {
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    #ffffff 66%,
    #ffffff 100%
  ) !important;
}

.advantage-card h3 {
  color: #171717 !important;
  opacity: 1 !important;
}

.advantage-card p {
  color: #171717 !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* === Advantages: show source images at full opacity === */
.advantage-card .advantage-image {
  opacity: 1 !important;
  filter: none !important;
}

.advantage-card::before {
  display: none !important;
}

/* Product modal: fixed centered product image on the left, scrolling copy on the right */
@media (min-width: 681px) {
  .product-modal-panel {
    overflow: hidden;
    align-items: stretch;
  }

  .product-modal-media {
    position: static;
    top: auto;
    align-self: center;
    height: fit-content;
    min-height: 420px;
    display: grid;
    place-items: center;
  }

  .product-modal-copy {
    max-height: calc(90vh - clamp(44px, 8vw, 88px));
    overflow-y: auto;
    padding-right: 8px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}

/* Keep the two information cards visually balanced */
.product-modal-columns > div {
  min-height: 100%;
}


/* === Product modal: properties/benefits first, full source description below === */
.product-modal-panel {
  align-items: start;
}

.product-modal-description-block {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfcf8 0%, #ffffff 100%);
}

.product-modal-description-block > h4 {
  margin: 0 0 22px;
  padding-bottom: 13px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.product-modal-full-description {
  width: 100%;
  color: #383d35;
  font-size: 16px;
  line-height: 1.72;
}

.product-modal-full-description h5 {
  margin: 26px 0 9px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: .01em;
}

.product-modal-full-description h5:first-child {
  margin-top: 0;
}

.product-modal-full-description p {
  margin: 0 0 11px;
  max-width: none;
}

.product-modal-full-description p.is-lead {
  font-size: 17px;
  line-height: 1.68;
}

/* The long description begins below BOTH columns, so the product image never
   stretches or travels alongside the description. The whole modal scrolls naturally. */
@media (min-width: 681px) {
  .product-modal-panel {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .product-modal-media {
    position: static !important;
    align-self: center;
    height: auto;
  }
  .product-modal-copy {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  .product-modal-description-block {
    padding: 18px;
  }
  .product-modal-full-description {
    font-size: 15px;
    line-height: 1.65;
  }
}

/* Consistent section highlighting inside the complete product description. */
.product-modal-full-description h5 {
  display: table;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef1ea;
  border-left: 3px solid var(--ink);
  font-weight: 800;
}
.product-modal-full-description h5.is-pack-heading {
  margin-top: 30px;
}
.product-modal-full-description .product-description-packs {
  font-weight: 700;
  color: var(--ink);
}


/* Disable sticky positioning for an image wrapper inside the modal,
   regardless of which of the existing modal selectors is active. */
.product-modal img,
.product-detail img,
.modal-product img {
  position: static;
}






/* === FINAL PRODUCT MODAL STRUCTURE ===
   Upper section: photo + properties/benefits.
   Lower section: full-width description WITHOUT a photo beside it. */

.product-modal-panel {
  display: block !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.product-modal-upper {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  position: relative;
}

/* Photo stays fixed only while the upper block is being scrolled. */
.product-modal-upper .product-modal-media {
  position: sticky !important;
  top: 24px !important;
  align-self: start !important;
  height: fit-content !important;
  min-height: 360px;
  z-index: 2;
}

.product-modal-upper .product-modal-copy {
  min-width: 0;
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

/* Full description is completely below the upper block, across full width. */
.product-modal-description-block {
  width: 100% !important;
  margin-top: 42px !important;
  clear: both !important;
}

/* No duplicate packaging line in the bottom description. */
.product-modal-full-description .is-pack-heading,
.product-modal-full-description .product-description-packs {
  display: none !important;
}

@media (max-width: 760px) {
  .product-modal-upper {
    display: block;
  }

  .product-modal-upper .product-modal-media {
    position: static !important;
    top: auto !important;
    min-height: 0;
  }

  .product-modal-description-block {
    margin-top: 28px !important;
  }
}


/* FINAL: every recognized section title in the full description is highlighted. */
.product-modal-full-description h5 {
  display: table !important;
  margin: 28px 0 10px !important;
  padding: 7px 12px !important;
  border-left: 4px solid var(--ink) !important;
  border-radius: 7px !important;
  background: #eef1ea !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}
.product-modal-full-description h5:first-child {
  margin-top: 0 !important;
}
.product-modal-full-description h5.is-pack-heading {
  display: table !important;
}


/* FINAL HEADING CONSISTENCY */
.product-modal-full-description h5 {
  display: table !important;
  margin: 28px 0 10px !important;
  padding: 7px 12px !important;
  border-left: 4px solid var(--ink) !important;
  border-radius: 7px !important;
  background: #eef1ea !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}
.product-modal-full-description h5:first-child {
  margin-top: 0 !important;
}


/* While a product card is open, freeze interaction with the carousel behind it. */
body.modal-open .product-slider {
  pointer-events: none !important;
}

@media (max-width:760px){
  header, .site-header, .header, .topbar, .navbar, .nav{
    position:sticky !important; top:0 !important; z-index:1000 !important;
  }
  .product-modal.is-open .product-modal-close{
    position:fixed !important;
    top:max(14px, env(safe-area-inset-top)) !important;
    right:14px !important; left:auto !important;
    width:46px !important; height:46px !important;
    display:grid !important; place-items:center !important;
    margin:0 !important; padding:0 !important;
    border:2px solid #111 !important; border-radius:50% !important;
    background:rgba(255,255,255,.94) !important; color:#111 !important;
    font-size:31px !important; line-height:1 !important;
    box-shadow:0 7px 24px rgba(0,0,0,.16) !important;
    z-index:10020 !important;
    backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px);
  }
  .product-modal.is-open .product-modal-close:active{transform:scale(.94)}
}


/* MOBILE: text in "Для бизнеса" and "Преимущества" is 1.5x larger */
@media (max-width: 760px) {
  .business p,
  .business li,
  .business-card p,
  .business-card li,
  .for-business p,
  .for-business li,
  .advantages p,
  .advantages li,
  .advantage p,
  .advantage li,
  .advantages-card p,
  .advantages-card li,
  .advantage-card p,
  .advantage-card li {
    font-size: 1.5em !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 760px) {
#advantages-title li,
#advantages-title p,
.advantage-btn li,
.advantage-btn p,
.advantage-card li,
.advantage-card p,
.advantage-carousel li,
.advantage-carousel p,
.advantage-image li,
.advantage-image p,
.advantage-next li,
.advantage-next p,
.advantage-prev li,
.advantage-prev p,
.advantage-strip li,
.advantage-strip p,
.advantage-track li,
.advantage-track p,
.advantage-window li,
.advantage-window p,
.product-modal-benefits li,
.product-modal-benefits p {
  font-size: 1.5em !important;
  line-height: 1.45 !important;
}
}


/* EXACT MOBILE MENU:
   fixed row "Продукция / Качество / Партнерам / Контакты" */
@media (max-width: 760px) {
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10050 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;

    width: 100% !important;
    min-height: 46px !important;
    padding: max(10px, env(safe-area-inset-top)) 14px 10px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none;

    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid rgba(23, 23, 23, 0.10) !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  /* Reserve room for the fixed navigation row. */
  .site-header {
    position: relative !important;
    top: auto !important;
    padding-top: calc(56px + env(safe-area-inset-top)) !important;
    z-index: 1000 !important;
  }

  /* Anchor links should not hide underneath the fixed menu. */
  section[id],
  footer[id],
  #products,
  #quality,
  #partners,
  #contact {
    scroll-margin-top: 64px !important;
  }
}


/* === FINAL MOBILE NAVIGATION FIX === */
.mobile-fixed-nav {
  display: none;
}

@media (max-width: 760px) {
  /* Original nav stays in document but is hidden; the direct-body clone is fixed. */
  .site-header > .nav {
    display: none !important;
  }

  .mobile-fixed-nav {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 20000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: calc(10px + env(safe-area-inset-top)) 14px 10px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    background: rgba(255,255,255,.97) !important;
    border-bottom: 1px solid rgba(23,23,23,.12) !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.10) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto !important;
    touch-action: pan-x !important;
  }

  .mobile-fixed-nav::-webkit-scrollbar {
    display: none !important;
  }

  .mobile-fixed-nav a {
    flex: 0 0 auto !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  /* Reserve actual space for the fixed nav. */
  body {
    padding-top: calc(50px + env(safe-area-inset-top)) !important;
  }

  .site-header {
    position: relative !important;
    top: auto !important;
    padding-top: 10px !important;
  }

  section[id],
  footer[id],
  #products,
  #quality,
  #partners,
  #contact {
    scroll-margin-top: calc(62px + env(safe-area-inset-top)) !important;
  }

  /* All carousel arrows must remain touchable above decorative layers. */
  .slider-btn,
  .advantage-btn,
  .product-slider-btn {
    position: relative !important;
    z-index: 50 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent;
  }

  .paint-cans,
  .advantage-carousel,
  .product-slider {
    position: relative !important;
  }
}


/* When a product modal is open, the mobile fixed menu goes behind the modal.
   The close button stays above everything. */
@media (max-width: 760px) {
  body.modal-open .mobile-fixed-nav {
    z-index: 10 !important;
    pointer-events: none !important;
    opacity: 0.18 !important;
  }

  .product-modal.is-open {
    z-index: 10000 !important;
  }

  .product-modal.is-open .product-modal-close {
    z-index: 10050 !important;
  }
}


/* MOBILE FIX: product-card properties/benefits use their original text size.
   This does NOT affect the standalone "Преимущества" section. */
@media (max-width: 760px) {
  .product-modal-benefits,
  .product-modal-benefits p,
  .product-modal-benefits li,
  .product-modal-properties,
  .product-modal-properties p,
  .product-modal-properties li,
  .product-modal-columns p,
  .product-modal-columns li {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}

/* MOBILE: text under images in the 'Для бизнеса' block — 1.5x */
@media (max-width:760px){
.business-card .caption,
.business-card .text,
.business-card p,
.business-cards .card .caption,
.business-cards .card .text,
.business-cards .card p,
.business-grid .card .caption,
.business-grid .card .text,
.business-grid .card p,
.for-business-card .caption,
.for-business-card .text,
.for-business-card p,
.partner-grid .caption,
.partner-grid .text,
.partner-grid p,
.partner-image .caption,
.partner-image .text,
.partner-image p,
.partner-item .caption,
.partner-item .text,
.partner-item p,
.partners .caption,
.partners .text,
.partners p{
  font-size:1.5em !important;
  line-height:1.45 !important;
}
}
