/* PRIVOZ — RETAIL / MODX block */
.retail-main {
 --retail-bg:#f1f3ea; --retail-bg-soft:#f7f8f2; --retail-surface:#ffffff;
 --retail-text:#586747; --retail-text-dark:#2f3b25; --retail-muted:#7f8d72;
 --retail-border:rgba(88,103,71,.14); --retail-accent:#728455;
 --retail-accent-dark:#5f6f46; --retail-accent-soft:#a7b487;
 --retail-shape:#9fad79; --retail-shadow:0 30px 70px rgba(69,83,54,.08);
 --retail-container:1280px;
 --retail-radius-cut:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px);
 background:var(--retail-bg); color:var(--retail-text); font-family:"Plus Jakarta Sans",sans-serif;
}
.retail-main .container {width:min(var(--retail-container),calc(100% - 48px));margin:0 auto;}
.retail-main, .retail-main * {box-sizing:border-box;}
.retail-btn {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.retail-btn:hover {
  transform: translateY(-2px);
}

.retail-btn-primary {
  background: var(--retail-accent-dark);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(95, 111, 70, 0.18);
}

.retail-btn-secondary {
  background: transparent;
  color: var(--retail-accent-dark);
  border: 1px solid rgba(95, 111, 70, 0.26);
}

.retail-btn-secondary:hover {
  background: rgba(115, 133, 85, 0.08);
}

.retail-hero {
  padding: 90px 0 72px;
  background: linear-gradient(180deg, #f0f2ea 0%, #eff2e8 100%);
}

.retail-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 52px;
  min-height: 720px;
}

.retail-hero-title {
  margin: 0 0 24px;
  color: var(--retail-text);
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.retail-hero-text {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--retail-muted);
  font-size: 20px;
  line-height: 1.72;
}

.retail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.retail-hero-note {
  margin: 0;
  color: var(--retail-accent-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.retail-hero-visual {
  position: relative;
  min-height: 610px;
}

.retail-hero-shape {
  position: absolute;
  pointer-events: none;
  background: var(--retail-shape);
}

.retail-hero-shape-back {
  top: 20px;
  right: 18px;
  width: 370px;
  height: 240px;
  clip-path: polygon(
    30px 0,
    100% 0,
    100% calc(100% - 34px),
    calc(100% - 34px) 100%,
    0 100%,
    0 30px
  );
}

.retail-hero-shape-middle {
  left: 0;
  bottom: 96px;
  width: 260px;
  height: 180px;
  opacity: 0.78;
  clip-path: polygon(
    26px 0,
    100% 0,
    100% calc(100% - 26px),
    calc(100% - 26px) 100%,
    0 100%,
    0 26px
  );
}

.retail-hero-card {
  position: absolute;
  left: 92px;
  right: 58px;
  top: 86px;
  bottom: 68px;
  background: #fafbf7;
  box-shadow: var(--retail-shadow);
  clip-path: var(--retail-radius-cut);
}

.retail-hero-card-frame {
  position: absolute;
  inset: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px dashed rgba(114, 132, 85, 0.18);
  padding: 32px;
}

.retail-hero-card h3 {
  margin: 0;
  max-width: 560px;
  color: var(--retail-text);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

@media  (max-width: 1280px)  {
.retail-hero-grid,
  .retail-marketplaces-grid,
  .retail-manager-grid,
  .retail-vat-grid {
    grid-template-columns: 1fr;
  }
.retail-hero-visual {
    min-height: 540px;
  }
.retail-hero-card {
    left: 48px;
    right: 32px;
  }
}

@media  (max-width: 900px)  {
.retail-hero {
    padding: 58px 0 52px;
  }
.retail-hero-grid {
    min-height: auto;
    gap: 34px;
  }
.retail-hero-title {
    font-size: 54px;
  }
.retail-hero-text {
    font-size: 17px;
  }
.retail-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
.retail-hero-visual {
    min-height: 420px;
  }
.retail-hero-card {
    left: 24px;
    right: 18px;
    top: 44px;
    bottom: 26px;
  }
.retail-hero-card-frame {
    inset: 14px;
    padding: 20px;
  }
}

@media  (max-width: 640px)  {
.retail-hero-title {
    font-size: 42px;
  }
.retail-hero-note {
    font-size: 14px;
  }
}

@media  (max-width: 768px)  {
.retail-vat-footer .retail-btn {
    width: 100%;
  }
}

.retail-main .retail-hero-card-video {
  position: absolute;
  overflow: hidden;
  background: #2f3b25;
}

.retail-main .retail-hero-video {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.retail-main .retail-hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(47, 59, 37, 0.02) 0%,
    rgba(47, 59, 37, 0.12) 100%
  );
}

@media  (max-width: 900px)  {
.retail-main .retail-hero-video {
    object-position: center;
  }
}
