/* Footer Section - BEM Methodology with SFC Design System */
.footer {
  background: var(--sfc-color-bg-cream);
  padding: var(--sfc-space-2xl) 0 0; /* 80px vertical */
  position: relative;
}

.footer.alignfull {
  margin-bottom: 0;
}

.footer__container {
  max-width: var(--sfc-container-max);
  margin: 0 auto 80px;
  padding: 0 var(--sfc-container-padding);
  display: flex;
  gap: var(--sfc-space-xl);
  align-items: start;
  justify-content: space-between;
}

.footer__section-content {
  display: flex;
    max-width: 793px;

  width: 100%;
  justify-content: space-between;
  gap: 80px;
}

.footer__logo {
  display: flex;
  align-items: flex-start;
  padding-top: var(--sfc-space-xs);
}

.footer__logo-image {
  max-width: 131px; /* Updated from 120px to match Figma */
  height: auto;
  display: block;
}

/* Footer Sections */
.footer__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 155px;
}

.footer__title {
  font-family: var(--sfc-font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--sfc-color-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px; /* Added for Figma spec */
  margin: 0;
}

.footer__nav {
  width: 100%;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Updated from 14px to match Figma */
}

.footer__list .menu-item {
  margin: 0;
}

.footer__list .menu-item > a {
  font-family: var(--sfc-font-primary);
  color: var(--sfc-color-text-gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color var(--sfc-transition-base);
  display: inline-block;
  line-height: 140%;
}

.footer__list .menu-item > a:hover {
  color: var(--sfc-color-secondary);
}

.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Updated from 16px to match Figma */
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px; /* Updated from 14px to match Figma */
}

.footer__contact-item--address {
  align-items: flex-start;
}

.footer__icon {
  width: 25px; /* Updated from 20px to match Figma */
  height: 25px; /* Updated from 20px to match Figma */
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-link {
  font-family: var(--sfc-font-primary);
  color: var(--sfc-color-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color var(--sfc-transition-base);
  line-height: 140%;
}

.footer__contact-link:hover {
  color: var(--sfc-color-secondary);
}

.footer__contact-text {
  font-family: var(--sfc-font-primary);
  color: var(--sfc-color-text-dark);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}

.footer__social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer__social-link {
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  transition: all var(--sfc-transition-base);
}

.footer__social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 33px;
  background-color: var(--Main-Orange, #E47633);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='33' viewBox='0 0 34 33' fill='none'%3E%3Cpath d='M29.8367 7.18678C28.688 5.59681 24.905 0.351276 18.8985 0.0167179C15.4937 -0.172437 12.8796 1.30348 10.6237 2.5738C9.17667 3.38556 5.5209 5.50649 2.96151 9.86496C1.94327 11.5911 -1.49041 17.4312 0.737698 23.3413C3.37924 30.3625 12.2043 32.6974 17.7872 32.5107C19.2157 32.4642 23.1953 32.274 27.1066 29.5231C28.2005 28.7524 31.7052 26.2094 33.0897 21.5338C35.16 14.5689 30.8466 8.59583 29.835 7.19216L29.8367 7.18678Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='33' viewBox='0 0 34 33' fill='none'%3E%3Cpath d='M29.8367 7.18678C28.688 5.59681 24.905 0.351276 18.8985 0.0167179C15.4937 -0.172437 12.8796 1.30348 10.6237 2.5738C9.17667 3.38556 5.5209 5.50649 2.96151 9.86496C1.94327 11.5911 -1.49041 17.4312 0.737698 23.3413C3.37924 30.3625 12.2043 32.6974 17.7872 32.5107C19.2157 32.4642 23.1953 32.274 27.1066 29.5231C28.2005 28.7524 31.7052 26.2094 33.0897 21.5338C35.16 14.5689 30.8466 8.59583 29.835 7.19216L29.8367 7.18678Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: transform var(--sfc-transition-base);
}

.footer__social-link:hover::before {
  transform: translate(-50%, -50%) scale(1.1);
}

.footer__social-link img {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

.footer__social-icon {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  background-color: var(--sfc-color-primary);
  padding: var(--sfc-space-sm) 0;
  text-align: center;
}

.footer__copyright {
  font-family: var(--sfc-font-primary);
  color: var(--sfc-color-text-light);
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  max-width: var(--sfc-container-max);

}
	.footer__bottom {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer__copyright {
  text-align: center;
}

.footer__link {
  font-family: var(--sfc-font-primary);
  color: var(--sfc-color-text-light);
  font-size: 14px;
  font-weight: 400;
  margin-left: 20px;
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}
@media (min-width: 1440px) {
  .footer__container {
    padding: 0 var(--sfc-container-padding-desktop); /* 130px horizontal at desktop */
  }
}

@media (max-width: 1024px) {
  .footer__container {
    gap: var(--sfc-space-lg);
    padding: 0 var(--sfc-space-lg);
    flex-wrap: wrap;
  }

  .footer__logo {
    order: -1;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer__section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sfc-space-md);
    width: 100%;
  }

  /* Reset min-width to ensure they fit in the grid */
  .footer__section {
    min-width: auto;
  }
  
  /* Force the last section (Social) to span full width */
  .footer__section:last-child {
    grid-column: 1 / -1;
    margin-top: var(--sfc-space-xs);
    width: 100%;
  }

  .footer__list .menu-item > a {
    font-size: 16px;
  }

  .footer {
    padding: var(--sfc-space-lg) 0 0;
  }

  .footer__container {
    gap: var(--sfc-space-md);
    padding: 0 var(--sfc-space-sm);
    margin-bottom: 16px;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__section {
    text-align: center;
    align-items: center;
  }

  .footer__list {
    align-items: center;
    gap: 10px;
  }

  .footer__contact-list {
    align-items: flex-start;
  }

  .footer__contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    padding: 15px 0;
  }

  .footer__copyright {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--sfc-space-md) 0 0;
  }

  .footer__container {
    gap: 25px;
    padding: 0 15px 25px;
    margin-bottom: 10px;
  }

  .footer__title {
    font-size: 14px;
  }

  .footer__link,
  .footer__contact-link,
  .footer__contact-text {
    font-size: 12px;
  }

  .footer__social-link {
    width: 36px;
    height: 36px;
  }

  .footer__social-icon {
    width: 18px;
    height: 18px;
  }
  
  .footer__list {
    gap: 8px;
  }

}
