/* Подвал: варианты расположения (fix_1530_footer, 29.11). Базовые .ft-* в style.css. */
.ft { position: relative; }
.ft-rug { display: block; }
.ft-rug img { width: 100%; height: auto; cursor: zoom-in; box-shadow: 0 18px 40px -14px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.18); transition: transform .6s var(--ease); }

/* A. Лого наверху, контакты под ним */
.ft--a .ft-logo { margin-bottom: calc(var(--u) * 5); }
.ft--a .ft-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.ft--a .ft-k { margin-bottom: 10px; }
.ft--a .ft-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.ft--a .ft-s { margin-top: 0; flex-direction: column; align-items: flex-end; gap: 2px; }

/* B. Ковёр брошен на лого */
.ft--b .ft-c { position: relative; }
.ft--b .ft-rug { position: absolute; z-index: 2; right: 3.5%; top: 100%; width: clamp(72px, 9.5vw, 168px); transform: translateY(-46%) rotate(9deg); }
.ft--b .ft-rug img { transform-origin: 50% 40%; }
@media (hover: hover) { .ft--b .ft-rug:hover img { transform: rotate(-9deg) scale(1.06); } }

/* C. Лого стоит на ковре */
.ft--c .ft-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; font-size: var(--fs-tag); color: var(--mute); }
.ft--c .ft-c { justify-content: space-between; margin-bottom: calc(var(--u) * 5); }
.ft--c .ft-c .ft-k { display: none; }
.ft--c .ft-floor { position: relative; }
.ft--c .ft-logo { position: relative; z-index: 2; }
.ft--c .ft-rug { position: relative; z-index: 1; width: 62%; margin: -7.5% auto 0; perspective: 1400px; }
.ft--c .ft-rug img { transform: rotateX(70deg); transform-origin: 50% 0; box-shadow: 0 40px 40px -20px rgba(0,0,0,.25); }
.ft--c .ft-s { margin-top: -21%; position: relative; z-index: 3; }

@media (max-width: 760px) {
  .ft--a .ft-row { flex-direction: column; align-items: flex-start; }
  .ft--a .ft-side { align-items: flex-start; text-align: left; }
  .ft--a .ft-s { align-items: flex-start; }
  .ft--b .ft-rug { right: 2%; transform: translateY(-38%) rotate(9deg); }
  .ft--c .ft-c { flex-direction: column; align-items: flex-start; }
}
