/* =========================================================
   Standart Lisa — Dynamic Footer
   ========================================================= */

.slf-footer,
.slf-footer * {
  box-sizing: border-box;
}

.slf-footer {
  --slf-dark: #0f2a38;
  --slf-dark-2: #123342;
  --slf-panel: rgba(255, 255, 255, 0.055);
  --slf-line: rgba(255, 255, 255, 0.10);
  --slf-text: rgba(255, 255, 255, 0.68);
  --slf-white: #ffffff;
  --slf-accent: #ff7900;
  --slf-cyan: #13b8bb;
  font-family: "Inter", Arial, sans-serif;
  color: var(--slf-white);
}

.slf-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* CTA */

.slf-cta {
  background: var(--slf-dark-2);
  border-top: 1px solid rgba(19, 184, 187, 0.45);
}

.slf-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.slf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.slf-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slf-accent);
}

.slf-cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.slf-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--slf-text);
  font-size: 16px;
  line-height: 1.6;
}

.slf-cta__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none;
  transition: 0.2s ease;
}

.slf-btn:hover { transform: translateY(-2px); }
.slf-btn--accent { background: var(--slf-accent); color: #fff !important; }
.slf-btn--ghost { background: var(--slf-panel); border-color: var(--slf-line); color: #fff !important; }

/* Main footer */

.slf-main {
  background: var(--slf-dark);
}

.slf-main__grid {
  display: grid;
  grid-template-columns: 1.2fr .85fr .95fr 1fr;
  gap: 58px;
  padding-top: 54px;
  padding-bottom: 46px;
}

.slf-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 230px;
  margin-bottom: 22px;
  color: #fff !important;
  text-decoration: none !important;
}

.slf-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 74px;
}

.slf-logo--text {
  display: block;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 800;
}

.slf-logo--text strong { color: var(--slf-accent); }
.slf-logo--text small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
}

.slf-brand > p {
  margin: 0;
  color: var(--slf-text);
  font-size: 15px;
  line-height: 1.75;
}

.slf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.slf-tags a {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(19, 184, 187, 0.15);
  color: #eafcfc !important;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none !important;
}

.slf-menu-column h3,
.slf-contacts h3,
.slf-cities h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.slf-menu,
.slf-city-menu,
.slf-legal-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slf-menu {
  display: grid;
  gap: 11px;
}

.slf-menu li,
.slf-city-menu li,
.slf-legal-menu li {
  margin: 0;
  padding: 0;
}

.slf-menu a,
.slf-city-menu a,
.slf-legal-menu a {
  color: var(--slf-text) !important;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none !important;
  transition: color .2s ease;
}

.slf-menu a:hover,
.slf-city-menu a:hover,
.slf-legal-menu a:hover {
  color: var(--slf-accent) !important;
}

.slf-contacts {
  display: flex;
  flex-direction: column;
}

.slf-contact-card {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--slf-line);
  border-radius: 15px;
  background: var(--slf-panel);
}

.slf-contact-card span {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.slf-contact-card a,
.slf-contact-card strong {
  color: #fff !important;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  text-decoration: none !important;
}

/* Cities */

.slf-cities {
  padding: 34px 0 38px;
  border-top: 1px solid var(--slf-line);
}

.slf-cities h3 { margin-bottom: 10px; }
.slf-cities p {
  margin: 0 0 24px;
  color: var(--slf-text);
  font-size: 14px;
  line-height: 1.6;
}

.slf-city-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 22px;
}

.slf-city-menu a {
  display: block;
  font-size: 13px;
}

/* Bottom */

.slf-bottom {
  border-top: 1px solid var(--slf-line);
}

.slf-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.slf-copyright {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.5;
}

.slf-bottom__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.slf-legal-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.slf-legal-menu a { font-size: 12px; }

.slf-developer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.58) !important;
  font-size: 11px;
  text-decoration: none !important;
}

.slf-developer strong { color: #fff; font-size: 13px; }
.slf-developer img { display: block; width: auto; max-width: 105px; max-height: 28px; }

.slf-admin-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 10px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

@media (max-width: 1024px) {
  .slf-cta__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .slf-main__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
  }

  .slf-city-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .slf-bottom__inner,
  .slf-bottom__right {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .slf-container {
    width: min(100% - 24px, 1180px);
  }

  .slf-cta__inner {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .slf-cta h2 {
    font-size: 30px;
  }

  .slf-cta p {
    font-size: 15px;
  }

  .slf-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .slf-btn { width: 100%; }

  .slf-main__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .slf-brand,
  .slf-menu-column,
  .slf-contacts {
    min-width: 0;
  }

  .slf-city-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .slf-bottom__inner {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .slf-bottom__right,
  .slf-legal-menu {
    width: 100%;
  }

  .slf-legal-menu {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .slf-city-menu {
    grid-template-columns: 1fr;
  }
}
