/* ================= FOOTER ================= */

.site-footer {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(24, 169, 107, 0.13), transparent 28%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #062f56 100%);
  color: #ffffff;
  padding: 80px 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.25;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr 1.15fr;
  gap: 58px;
}

/* Brand */
.footer-logo {
  width: 135px;
  height: 95px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
  background: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  background: var(--green);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Columns */
.footer-col h3 {
  position: relative;
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 26px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.footer-links,
.footer-info {
  list-style: none;
}

.footer-links li,
.footer-info li {
  margin-bottom: 15px;
}

.footer-links a,
.footer-info a,
.footer-info li {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  transition: 0.25s ease;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-info i {
  margin-top: 5px;
  color: var(--green);
  font-size: 14px;
}

.footer-links a:hover,
.footer-info a:hover {
  color: var(--green);
  padding-left: 4px;
}

/* Gallery */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery a {
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}

.footer-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

.footer-gallery a:hover img {
  transform: scale(1.1);
  filter: brightness(0.78);
}

/* Bottom */
.footer-bottom {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p,
.footer-bottom-links a,
.footer-bottom-links span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-links a {
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-bottom-links a:hover {
  color: var(--green);
}

/* Floating contact button */
.footer-chat-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 18px 40px rgba(6, 71, 168, 0.3);
  transition: 0.25s ease;
}

.footer-chat-btn:hover {
  background: var(--green);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 46px;
  }
}

@media (max-width: 700px) {
  .site-footer {
    padding-top: 62px;
  }

  .footer-container {
    width: min(100% - 32px, 520px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 46px;
  }

  .footer-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-gallery a {
    height: 82px;
  }
}