/* ===== FOOTER STYLES (combined) =====
   Supports:
   - .footer (techno footer / old markup)
   - .flex-footer (symmetric footer / new markup)
*/

/* ============================================
   СТИЛИ НОВОГО ТЕХНО-ФУТЕРА
   ============================================ */

:root{
  /* легко подогнать под ТЗ */
  --brand:#863A3A;
  --accent:#3B5998;

  --bg:#F6F7FA;
  --panel:#FFFFFF;
  --text:#111318;
  --muted:#5B616E;
  --muted2:#798093;
  --line:#E3E7F0;

  --radius: 0px; /* можно 0px если хочешь строго "по ТЗ" */
  --shadow: 0 10px 30px rgba(16,24,40,.08);

  --container: 1200px;
  --pad-m: 16px;
  --pad-d: 28px;

  --tap: 44px;
  --trans: 180ms ease;
  --focus: 0 0 0 3px rgba(59,89,152,.22);
}

/* Общие стили для футера */
.footer{
  position:relative;
  background:
    radial-gradient(900px 380px at 85% 25%, rgba(59,89,152,.10), transparent 60%),
    radial-gradient(900px 380px at 10% 0%, rgba(134,58,58,.10), transparent 62%),
    linear-gradient(180deg, #FFFFFF, var(--bg));
  border-top: 1px solid var(--line);
  overflow:hidden;
}

/* "техно" сетка/чертёжный паттерн */
.footer::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    linear-gradient(to right, rgba(17,19,24,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,19,24,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(80% 55% at 50% 15%, #000 55%, transparent 100%);
  opacity:.35;
}

/* тонкая "шина" сверху */
.footer__rail{
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(134,58,58,.55), rgba(59,89,152,.55), transparent);
  opacity:.8;
}

/* верхний "engineering CTA" (компактно) */
.footer__top{
  position:relative;
  padding: 24px 0 12px;
}
.topbar{
  display:grid;
  gap: 12px;
  align-items:center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 14px;
}
@media (min-width:768px){
  .topbar{
    grid-template-columns: 1.4fr .6fr;
    padding: 16px 18px;
  }
}
.topbar__title{
  margin:0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height:1.25;
}
.topbar__sub{
  margin:4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height:1.55;
  max-width: 70ch;
}
.topbar__actions{
  display:flex;
  flex-direction: row;
  justify-content: flex-end;
  gap:20px;
}
@media (min-width:768px){
  .topbar__actions{ align-items:flex-end; }
}

/* === TOP CTA: icon left, text right (2 lines) === */
.topbar__actions .btn{
  width: 140px;
  justify-content: center;
  text-align: left;
  text-transform:none;
  letter-spacing:0;
  font-size:13px;
  padding: 10px 14px;
  gap: 12px;
}
.btn__txt{
  display:flex;
  flex-direction:column;
  line-height:1.08;
}
.btn__l1{
  font-size:12px;
  font-weight: 900;
  opacity: .85;
}
.btn__l2{
  font-size:13px;
  font-weight: 1000;
}
.topbar__actions .btn svg{ width:20px; height:20px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform var(--trans), background var(--trans), border-color var(--trans), box-shadow var(--trans), color var(--trans);
  user-select:none;
}
.btn:hover{ background:#F3F6FF; border-color:#D5DDF0; transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline:none; box-shadow: var(--focus); }
.btn--brand{
  background: linear-gradient(135deg, rgba(134,58,58,.14), rgba(134,58,58,.06));
  border-color: rgba(134,58,58,.25);
  color: var(--brand);
}
.btn--accent{
  background: linear-gradient(135deg, rgba(59,89,152,.14), rgba(59,89,152,.06));
  border-color: rgba(59,89,152,.25);
  color: var(--accent);
}
.btn svg{ width:18px; height:18px; opacity:1; }

/* =========================
   MAIN GRID (симметрия!)
========================= */
.footer__main{
  position:relative;
  padding: 40px 0 18px;
}

.footer__main .grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

/* промежуточная адаптация: 2 карточки в ряд на планшетах/небольших ноутбуках */
@media (min-width: 700px){
  .footer__main .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 4 карточки в ряд только на больших экранах */
@media (min-width: 1200px){
  .footer__main .grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* чтобы контент внутри карточки не раздувал колонку */
.footer__main .card{ min-width: 0; }

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height: 320px;
}

.card__head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246,247,250,.9), rgba(255,255,255,0));
}
.kicker{
  margin:0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 900;
  display:flex;
  align-items:center;
  gap:10px;
}
.kicker::before{
  content:"";
  width: 16px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  opacity:.9;
}
.card__title{
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: -.01em;
  line-height:1.2;
}

.card__body{
  padding: 12px 14px 10px;
  display:flex;
  flex-direction:column;
  gap: 12px;
  flex: 1 1 auto;
}

.card__footer{
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  background: #FBFCFF;
}

.list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.link{
  display:flex;
  align-items:center;
  gap: 10px;
  min-height: var(--tap);
  padding: 0 10px;
  margin-left: -10px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration:none;
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.link:hover{
  background:#F3F6FF;
  color: var(--text);
  transform: translateX(2px);
}
.link:focus-visible{ outline:none; box-shadow: var(--focus); }
.link svg{ width:18px; height:18px; opacity:.85; color: var(--muted2); }

.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  min-height: 34px;
}
.badge svg{ width:14px; height:14px; opacity:.9; }

/* Contacts block */
.contact-hero{
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(134,58,58,.08), transparent 55%),
    linear-gradient(315deg, rgba(59,89,152,.08), transparent 55%),
    #fff;
}
.phone{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.phone__number{
  font-weight: 900;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.iconbtn{
  width: 44px; height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:#fff;
  transition: transform var(--trans), background var(--trans), border-color var(--trans), box-shadow var(--trans);
  text-decoration:none;
  color: var(--text);
}
.iconbtn:hover{ background:#F3F6FF; border-color:#D5DDF0; transform: translateY(-1px); }
.iconbtn:focus-visible{ outline:none; box-shadow: var(--focus); }
.iconbtn svg{ width:18px; height:18px; opacity:1; }

.meta{
  display:grid;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.55;
}
.meta-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.meta-row svg{ width:18px; height:18px; opacity:.85; margin-top: 2px; }

.card[aria-label="Контакты"] .mini-actions{
  display:flex;
  flex-direction:column;
  gap: 12px;
  align-items:stretch;
}

.card[aria-label="Контакты"] .mini-actions .btn{
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  text-transform:none;
  letter-spacing:0;
  font-size:13px;
  padding: 10px 14px;
  gap: 12px;
}
.card[aria-label="Контакты"] .mini-actions .btn svg{ width:20px; height:20px; }

.card[aria-label="Контакты"] .mini-actions .btn--call{
  justify-content: flex-start;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}

/* bottom */
.footer__bottom{
  position:relative;
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  background: rgba(255,255,255,.55);
}
.bottom{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
@media (min-width:768px){
  .bottom{ flex-direction:row; align-items:center; justify-content:space-between; }
}
.copy{ margin:0; color: var(--muted2); font-size: 13px; line-height:1.4; }
.legal{ display:flex; flex-wrap:wrap; gap: 12px; align-items:center; font-size: 13px; }
.legal a{
  color: var(--muted2);
  text-decoration:none;
  min-height: var(--tap);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 0 10px;
  margin-left:-10px;
  border-radius: 10px;
  transition: background var(--trans), color var(--trans);
}
.legal a:hover{ background:#F3F6FF; color: var(--text); }
.legal a:focus-visible{ outline:none; box-shadow: var(--focus); }

.toplink{
  width: 44px; height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:#fff;
  transition: transform var(--trans), background var(--trans), border-color var(--trans);
  text-decoration:none;
  color: var(--text);
}
.toplink:hover{ background:#F3F6FF; border-color:#D5DDF0; transform: translateY(-1px); }
.toplink:focus-visible{ outline:none; box-shadow: var(--focus); }
.toplink svg{ width:18px; height:18px; opacity:.9; }

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* === FORCE SQUARE EDGES === */
.footer *,
.footer *::before,
.footer *::after{
  border-radius: 0 !important;
}

/* === KB MEDIA ICONS (Card 1) === */
.kb-media{
  display:flex;
  justify-content:center;
  gap: 10px;
  padding-top: 2px;
}
.kb-media a{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--line);
  background:#fff;
  text-decoration:none;
  color: var(--text);
  transition: transform var(--trans), background var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.kb-media a:hover{
  background:#F3F6FF;
  border-color:#D5DDF0;
  transform: translateY(-1px);
}
.kb-media a:focus-visible{ outline:none; box-shadow: var(--focus); }
.kb-media svg{ width:22px; height:22px; }

/* === TP LOGOS (Card 4) === */
.tp-logos{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 22px;
}
.tp-logos a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  opacity: .6;
  transition: opacity var(--trans);
}
.tp-ph{
  display:inline-flex;
  align-items:center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background:#fff;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1;
  max-width: 220px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-logos a:hover{
  opacity: 1;
}
.tp-logos a:focus-visible{ outline:none; box-shadow: var(--focus); }

/* === MSP BOX (Card 4) === */
.card[aria-label="Доверие и площадки"] .msp-box{
  margin-top: auto;
  margin-bottom: auto;
}
.msp-box{
  border: 1px solid var(--line);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(134,58,58,.08), transparent 55%),
    linear-gradient(315deg, rgba(59,89,152,.08), transparent 55%),
    #fff;
  display:flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.msp-box__icon{
  flex: 0 0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
  width: 100%;
}
.msp-box__icon svg{
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  display:block;
}
.msp-box__icon svg [fill="#fff"]{ fill: var(--muted2); }

.msp-box__text{ min-width: 0; width: 100%; text-align: center; }
.msp-box__title{
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.msp-box__sub{
  margin-top: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

/* ===== SYMMETRIC FOOTER (.flex-footer) ===== */

/* ===== НОВЫЕ СТИЛИ ДЛЯ ОБНОВЛЕННОГО ФУТЕРА ===== */

.flex-footer {
    background: #2c2f34;
    color: #fff;
    padding: 60px 0 0;
}/* Основная сетка */
.flex-footer .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 10px;
}.flex-footer .footer-column {
    display: flex;
    flex-direction: column;
}.flex-footer .footer-title {
    font: 600 normal 18px/1.2 'Gilroy';
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}/* Контакты */
.flex-footer .contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
}.flex-footer .contact-line {
    display: flex;
    flex-direction: column;
    gap: 4px;
}.flex-footer .contact-label {
    font: 500 normal 13px/1.2 'Gilroy';
    color: #863a3a;
    letter-spacing: 0.3px;
    text-align: left;
}.flex-footer .contact-text {
    font: normal normal 15px/1.4 'Gilroy';
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}/* Иконки */
.flex-footer .section-label {
    font: 500 normal 14px/1.2 'Gilroy';
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}.messenger-icons, .flex-footer .social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}.flex-footer .icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}.flex-footer .icon-btn.telegram { background: #0088cc; }.flex-footer .icon-btn.max { background: #8246F3; }.flex-footer .icon-btn.youtube { background: #15171a; }.flex-footer .icon-btn.vk { background: #15171a; }.flex-footer .icon-btn.rutube { background: #15171a; }.flex-footer .icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}/* МСП */
.msp-info {
    margin-top: auto;
    padding-top: 30px;
}.flex-footer .msp-text {
    font: normal normal 14px/1.4 'Gilroy';
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}/* Торговые площадки */
.flex-footer .marketplaces-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}.flex-footer .marketplace-item {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}.flex-footer .marketplace-name {
    font: normal normal 14px/1.2 'Gilroy';
    color: rgba(255, 255, 255, 0.8);
}.flex-footer .marketplace-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}.flex-footer .marketplace-item:hover .marketplace-name {
    color: #fff;
}/* Нижняя часть */
.flex-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}.flex-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}.flex-footer .footer-logo img {
    height: 32px;
    width: auto;
}.flex-footer .logo-text {
    font: 600 normal 18px/1.2 'Gilroy';
    color: #fff;
}.flex-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}.flex-footer .nav-link {
    font: 500 normal 14px/1.2 'Gilroy';
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}.flex-footer .nav-link:hover {
    color: #fff;
    text-decoration: none;
}.flex-footer .footer-copyright {
    background: #212428;
    text-align: center;
    padding: 20px 0;
    font: normal normal 13px/1.2 'Gilroy';
    color: rgba(255, 255, 255, 0.4);
}/* Десктоп */
@media (min-width: 768px) {.flex-footer .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 50px;
    }.flex-footer .contact-line {
        flex-direction: row;
        align-items: flex-start;
    }.flex-footer .contact-label {
        min-width: 110px;
    }.flex-footer .msp-text {
        text-align: left;
    }.flex-footer .marketplace-item {
        text-align: left;
    }.flex-footer .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }.flex-footer .footer-nav {
        gap: 30px;
    }
}/* Планшеты */
@media (min-width: 576px) and (max-width: 767px) {.flex-footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}/* ==== Новый футер (flex-footer) ==== */

.flex-footer {
    background: #252831;
    padding: 40px 0 0;
    color: #f9fafb;
}/* --- ВСЁ ЛЕВОЕ ВЫРАВНИВАНИЕ КАК В ПРЕДПРОСМОТРЕ --- */
.flex-footer .footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    text-align: left;  /* ← Выравнивание всех текстов и секций по левому краю */
}.flex-footer .footer-column {
    display: flex;
    flex-direction: column;
}.flex-footer .footer-title {
    font-size: 17px; /* ← Чуть строже как в предпросмотре */
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}/* Контакты */

.flex-footer .contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 6px;
}.flex-footer .contact-line {
    display: flex;
    flex-direction: column;
    gap: 2px;
}.flex-footer .contact-label {
    font-size: 12px;
    color: #9ca3af;
}.flex-footer .contact-text {
    font-size: 14px;
    color: #e5e7eb;
}.flex-footer .contact-text a {
    color: #e5e7eb;
    text-decoration: none;
}.flex-footer .contact-text a:hover {
    text-decoration: underline;
}/* Заголовки секций ("Месседжеры", "Соцсети") */
.flex-footer .section-label {
    font-size: 12px; /* ← Сделано таким же как Email / Телефон */
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}/* --- Соцсети и мессенджеры — квадратные кнопки --- */
.flex-footer .icon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* ← уменьшен отступ */
}.flex-footer .social-btn {
    width: 36px;
    height: 36px;

    border-radius: 0px; /* ← КВАДРАТ со скруглёнными углами */
    background: #3B3F4A;
    color: #111827;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 600;
    text-decoration: none;
    font-size: 14px;

    transition: 0.2s ease;
    border: none;
    cursor: pointer;
}.flex-footer .social-btn:hover {
    transform: translateY(-1px) scale(1.05);
    background: #ffffff;
}/* --- Средний столбик: меню услуг --- */

.flex-footer .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 10px; /* ← МЕНЬШЕ отступы внутри меню */
    margin-bottom: 14px; /* ← уменьшаем высоту всего блока */
}.flex-footer .footer-menu .footer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.7; /* ← делает столбик ниже */
}.flex-footer .footer-menu .footer-link:hover {
    color: #ffffff;
}/* Отступ соцсетей от меню услуг — меньше */
.flex-footer .socials {
    margin-top: 0px; /* ← уменьшено */
}/* Торговые площадки */

.flex-footer .marketplaces {
    gap: 15px; /* ← уменьшены вертикальные промежутки */
}.flex-footer .marketplace-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* ← Меньший отступ между площадками */
    gap: 8px;
    text-decoration: none;
}.flex-footer .market-logo {
    height: 26px; /* ← чуть меньше для аккуратности */
    opacity: 0.95;
    flex-shrink: 0;
}.flex-footer .market-caption {
    font-size: 14px;
    color: #e5e7eb;
}/* МСП блок */

.flex-footer .msp-block {
    margin-top: 20px; /* чуть меньше */
    display: flex;
    align-items: center;
    gap: 10px;
    background: #30343f;
    padding: 10px 12px;
    border-radius: 10px;
}.flex-footer .msp-logo {
    height: 24px;
    flex-shrink: 0;
}.flex-footer .msp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}.flex-footer .msp-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}.flex-footer .msp-sub {
    font-size: 11px;
    color: #d1d5db;
}/* Нижняя часть */

.flex-footer .footer-bottom {
    border-top: 1px solid #3b3f4a;
    margin-top: 28px;
    padding: 14px 0 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}.flex-footer .footer-logo img {
    height: 42px;       /* ← можно увеличить/уменьшить */
    width: auto;        /* ← сохраняет естественные пропорции */
    border-radius: 0;   /* ← убираем круглую маску */
    object-fit: contain;/* ← корректно вписывает логотип */
    background: none;   /* ← убираем серый фон */
}.flex-footer .logo-text {
    font-size: 18px;
    color: #f9fafb;
    font-weight: 600;
}.flex-footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* ← немного компактнее */
    justify-content: flex-end;
}.flex-footer .nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
}.flex-footer .nav-link:hover {
    color: #ffffff;
}/* Копирайт */

.flex-footer .footer-copy {
    text-align: center;
    padding: 10px 20px 14px;
    color: #9ca3af;
    font-size: 13px;
    background: #1f222b;
}/* Адаптив */

@media (max-width: 900px) {.flex-footer .footer-main {
        grid-template-columns: 1fr;
    }.flex-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }.flex-footer .footer-nav {
        justify-content: flex-start;
    }
}.flex-footer /* === 1. Только для Мессенджеры — убрать капс === */
.flex-footer .messengers .section-label {
    text-transform: none !important; /* ← капс выключаем только здесь */
    font-size: 11px !important;      /* ← меньший, тонкий шрифт */
    font-weight: 400 !important;
    color: #9ca3af !important;
    letter-spacing: 0 !important;
}/* === 2. Все подписи ("E-mail", "Телефон", "Адрес") — уменьшить и утончить === */
.flex-footer .contact-label {
    font-size: 11px !important;  /* ← меньше */
    font-weight: 400 !important; /* ← тоньше */
    color: #9ca3af;
    letter-spacing: 0;
}/* === 3. Отступ от слова "Мессенджеры" до Телеграм/Max === */
/* Такой же, как в блоке контактов между Email → Телефон */
.flex-footer .messengers {
    margin-top: 4px !important; /* ← подогнанный отступ */
}.flex-footer /* (Иконки под ним тоже оставляем компактными) */
.flex-footer .messengers .icon-row {
    margin-top: 6px !important;
}/* === Уплотнение третьей колонки с торговыми площадками === */

/* Убираем фон, рамки, лишние отступы */
.flex-footer .marketplace-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px; /* ← уменьшенный вертикальный отступ */
    padding: 0;
    background: none;
    border: none;
}/* Все логотипы одинаковой высоты */
.flex-footer .marketplace-item img.market-logo {
    height: 40px;   /* ← можешь ставить 22–26px, если хочешь плотнее */
    width: auto;
    opacity: 0.4; /* 40% */
    transition: opacity 0.3s ease; /* Плавный переход */
}.flex-footer .marketplace-item img.market-logo:hover {
    opacity: 1; /* 100% */
}/* Мини-блок МСП */
.flex-footer .msp-block {
    display: flex;
    align-items: center;
    gap: 14px;           /* ← ближе к логотипу */
    background: none;   /* ← убрали подложку */
    padding: 0;         /* ← убрали внутренние поля */
    margin-top: 8px;    /* ← компактно под логотипами */
}/* Иконка МСП меньше */
.flex-footer .msp-block img.msp-logo {
    height: 18px; /* ← достаточно для футера */
    width: auto;
}/* Текст МСП компактный */
.flex-footer .msp-block .msp-text {
    margin: 0;
    padding: 0;
}/* Размещаем текст МСП под логотипом */
.flex-footer .msp-block {
    flex-direction: column;   /* ← ставит картинку сверху, текст снизу */
    align-items: flex-start;  /* ← или center, если хочешь по центру */
    gap: 4px;                 /* ← расстояние между логотипом и текстом */
    margin-top: 8px;
}/* Логотип чуть больше — смотрится лучше сверху */
.flex-footer .msp-block img.msp-logo {
    height: 22px;   /* можешь менять 18–26 */
    width: auto;
}/* Текст под логотипом */
.flex-footer .msp-block .msp-text {
    font-size: 11px;
    color: #d1d5db;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}/* === Preloader ТеплоЛог === */

#tl-preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;        /* белый фон при загрузке */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}#tl-preloader.tl-preloader-hidden {
    opacity: 0;
    visibility: hidden;
}.tl-preloader-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}.tl-preloader-svg {
    width: 64px;
    height: 64px;
    animation: tl-preloader-spin 1.2s linear infinite;
}

@keyframes tl-preloader-spin {from { transform: rotate(0deg); }to { transform: rotate(360deg); }
}

/* Стили для логотипа в футере */
.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .footer__bottom .bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}