.footer {
  background-color: #1c1c1e;
  color: #f7f8f9;
  font-family: 'Geologica';
  font-weight: 200;
  padding: 30px 0 20px;
  min-height: 300px;
}

.footer-columns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: calc(100% - 60px);
  margin: 0 auto;
}

.footer-box {
  border-radius: 30px;
  background: #252525;
  box-shadow: 0px 2px 3px 0 rgba(255, 255, 255, 0.10) inset;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 250px;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #6ec7ae;
  margin-bottom: 8px;
}

.footer-box p {
  font-size: 17px;
  color: #eeeff1;
  line-height: 25px;
}

.footer-icon {
    height: 120px;
    width: auto;
    aspect-ratio: 1/1;
}

.footer-copy {
  font-family: 'Geologica';
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #eeeff1;
}

@media (max-width: 1366px) {
  .footer-icon {
    display: none;
  }
  .footer-icon2 {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-columns {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 30px);
    gap: 15px;
  }
  .footer-icon {
    display: block;
  }
  .footer-icon2 {
    display: block;
  }
  .footer {
    padding: 20px 0 20px;
  }
  .footer-copy{
    margin-bottom: 20px;
  }
}

@media (max-width: 660px) {
  .footer-icon {
    display: none;
  }
  .footer-icon2 {
    display: none;
  }
}

.footer-contact-action {
  margin-top: 30px; /* extra space above button */
}

.contact-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #6ec7ae;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid #6ec7ae;
  border-radius: 20px;
  transition: all 0.1s ease;
}

.contact-link:hover {
  background-color: #6EC7AE;
  color: #1C1C1E;
  box-shadow: 0 0 10px rgba(110, 199, 174, 0.3);
  border-color: #6EC7AE;
}


.social-links {
  display: flex;
  flex-direction: column; /* един под друг */
  gap: 7px;
}

.social-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none; /* no default underline */
  color: inherit;
}

.social-item span {
  position: relative; /* anchor for ::after */
  white-space: nowrap; /* ❗ не позволява пренасяне */
}

/* fake underline only under span text */
.social-item span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;              /* distance below text */
  height: 1px;
  width: 0;                  /* hidden at start */
  background-color: #9ea0a0;
  transition: width 0.3s ease;
}

/* expand underline on hover/focus */
.social-item:hover span::after,
.social-item:focus-visible span::after {
  width: 100%;
}

.social-icon {
  width: 20px;
  max-height: 20px;
  flex-shrink: 0; /* ❗ иконката никога не се свива */
}
