/* ======================================================
   FOOTER — 7422.by
====================================================== */

.footer {
  padding: 34px 0 20px;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(30,136,229,0.08), transparent 42%),
    #070b12;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #ffffff;
}

/* TOP */

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(30,136,229,0.12), transparent 46%),
    rgba(15, 18, 25, 0.82);
  border: 1px solid rgba(122,196,255,0.16);
}

.footer-top-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}

.footer-top-brand img {
  width: 64px;
  max-width: 64px;
  height: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-top-brand span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-top-brand strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.footer-top-brand small {
  color: #7ac4ff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.footer-top-location {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #cbd5e6;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.footer-top-location i {
  width: 16px;
  min-width: 16px;
  color: #7ac4ff;
  font-size: 14px;
  text-align: center;
}

.footer-top-location span {
  min-width: 0;
}

.footer-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.footer-top-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.28);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  transition: 0.2s ease;
}

.footer-top-phone i {
  color: #2ecc71;
  font-size: 13px;
}

.footer-top-phone:hover {
  color: #05070c;
  background: #2ecc71;
  border-color: #2ecc71;
}

.footer-top-phone:hover i {
  color: #05070c;
}

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 11px 17px;
  border: none;
  border-radius: 999px;
  background: #2ecc71;
  color: #05070c;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.footer-top-btn:hover {
  background: #35e47f;
  transform: translateY(-1px);
}

/* GRID */

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.8fr) minmax(300px, 1.1fr) minmax(190px, 0.7fr);
  gap: 28px;
  align-items: flex-start;
}

.footer-col {
  min-width: 0;
}

.footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.footer-about p {
  max-width: 320px;
  margin: 0 0 13px;
  color: #9da1ab;
  font-size: 13px;
  line-height: 1.6;
}

.footer-about-link {
  color: #2ecc71;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}

.footer-about-link:hover {
  color: #35e47f;
}

/* LINKS */

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-city-links,
.footer-service-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
  min-width: 0;
  color: #9da1ab;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.045);
  box-sizing: border-box;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(30,136,229,0.28);
  background: rgba(30,136,229,0.08);
}

.footer-links a.active,
.footer-links a.active-service,
.footer-city-links a.active {
  color: #2ecc71;
  border-color: rgba(46,204,113,0.28);
  background: rgba(46,204,113,0.075);
}

/* UTILITY LINKS */

.footer-utility {
  display: flex;
  align-items: flex-start;
}

.footer-utility-links {
  display: grid;
  gap: 10px;
  width: 100%;
}

.footer-utility-links a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.055);
  color: #aeb6c4;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  transition: 0.2s ease;
}

.footer-utility-links a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.055);
  border-color: rgba(122,196,255,0.22);
}

.footer-utility-links a.active-contact {
  color: #ffffff;
  border-color: rgba(122,196,255,0.22);
  background: rgba(122,196,255,0.08);
}

/* BOTTOM */

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #6f7784;
  font-size: 13px;
  line-height: 1.4;
}

/* ======================================================
   ADAPTIVE
====================================================== */

@media (max-width: 1180px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-top-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
    gap: 28px 34px;
  }
}

@media (max-width: 760px) {
  .footer {
    padding: 30px 0 18px;
  }

  .footer-top {
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 26px;
  }

  .footer-top-brand img {
    width: 58px;
    max-width: 58px;
  }

  .footer-top-brand strong {
    font-size: 17px;
  }

  .footer-top-location {
    align-items: flex-start;
  }

  .footer-top-location i {
    margin-top: 1px;
  }

  .footer-top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-top-phone,
  .footer-top-btn {
    width: 100%;
    justify-content: center;
    border-radius: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-about {
    display: none;
  }

  .footer-city-links,
  .footer-service-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .footer-links a {
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .footer-utility-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-utility-links a {
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 13px;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer-top-brand {
    gap: 10px;
  }

  .footer-top-brand img {
    width: 54px;
    max-width: 54px;
  }

  .footer-top-brand strong {
    font-size: 16px;
  }

  .footer-top-brand small {
    font-size: 11.5px;
  }

  .footer-city-links,
  .footer-service-links,
  .footer-utility-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links a,
  .footer-utility-links a {
    font-size: 12.5px;
    padding: 8px 9px;
  }

  .footer-bottom {
    margin-top: 26px;
  }
}