/* Footer Styles */
.site-footer {
  width: 100%;
  background: #f2efec;
}

.footer-inner {
  position: relative;
  height: 321px;
  padding: 40px;
}

/* Desktop Layout - Default */
.footer-desktop {
  display: block;
}

.footer-logo {
  position: absolute;
  left: 11px;
  top: 16px;
}

.footer-left-links {
  position: absolute;
  left: 363px;
  top: 56px;
  width: 184px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.210227;
}

.footer-right-links {
  position: absolute;
  left: 621px;
  top: 56px;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 39px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.210227;
  color: #4c4c49;
}

.footer-link {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-link.dim {
  text-decoration-color: rgba(76, 76, 73, 0.4);
}

.footer-link.strong {
  text-decoration-color: rgba(40, 40, 38, 0.4);
}

.footer-social {
  position: absolute;
  top: 176px;
  display: inline-flex;
  height: 35px;
  width: 35px;
  align-items: center;
  justify-content: center;
}

.footer-social.linkedin {
  left: 1005px;
}

.footer-social.x {
  left: 1052px;
  top: 178px;
  height: 32px;
  width: 32px;
}

.footer-copy {
  position: absolute;
  left: 786px;
  top: 247px;
  width: 333px;
  text-align: right;
  font-size: 14px;
  line-height: 1.245227;
  color: #4c4c49;
}

nav.footer-right-links a {
    color: #282826;
    font-family: "Inter-Medium";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Responsive Footer Styles - Tablet Layout */
@media (max-width: 1235px) and (min-width: 768px) {
  .footer-inner {
    height: 461px;
    padding: 30px;
    position: relative;
  }
  
  /* Hide desktop logo and show tablet text logo */
  .footer-logo {
    display: none;
  }
  
  .footer-desktop::before {
    content: "PRECISE.";
    position: absolute;
    left: 30px;
    top: 30px;
    font-family: "Vanilla Bold";
    font-size: 48px;
    font-weight: 800;
    color: #282826;
    text-transform: uppercase;
  }
  
  /* Update left links content and positioning */
  .footer-left-links {
    left: 30px;
    top: 166px;
    gap: 62px;
    font-size: 18px;
    line-height: 1.21;
    width: 184px;
  }
  
  .footer-left-links .footer-link {
    color: #282826;
    text-decoration-color: rgba(40, 40, 38, 0.4);
  }
  
  /* Update right links positioning and content */
  .footer-right-links {
    left: 366px;
    top: 166px;
    gap: 56px;
    font-size: 18px;
    line-height: 1.21;
    color: #4C4C49;
    width: 168px;
  }
  
  .footer-right-links .footer-link {
    font-size: 18px;
    color: #4C4C49;
    text-decoration-color: rgba(76, 76, 73, 0.4);
  }
  
  /* Reposition social icons to bottom right area */
  .footer-social.linkedin {
    right: 115px;
    left: auto;
    bottom: 65px;
    top: auto;
  }
  
  .footer-social.x {
    right: 65px;
    left: auto;
    bottom: 65px;
    top: auto;
  }
  
  /* Reposition copyright to bottom right, below social icons */
  .footer-copy {
    right: 30px;
    left: auto;
    bottom: 30px;
    top: auto;
    width: 333px;
    text-align: right;
  }
}

/* Mobile responsive styles */
@media (max-width: 767px) {
  .footer-inner {
    height: auto;
    padding: 40px 20px;
    position: static;
  }
  
  .footer-desktop::before {
    content: "PRECISE.";
    position: static;
    display: block;
    margin-bottom: 32px;
    font-family: "Vanilla Bold";
    font-size: 36px;
    font-weight: 800;
    color: #282826;
    text-transform: uppercase;
  }
  
  .footer-logo {
    display: none;
  }
  
  .footer-left-links, .footer-right-links {
    position: static;
    width: auto;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }
  
  .footer-left-links .footer-link,
  .footer-right-links .footer-link {
    font-size: 16px;
    color: #4c4c49;
  }
  
  .footer-social {
    position: static;
    margin: 16px 0;
  }
  
  .footer-copy {
    position: static;
    text-align: left;
    width: auto;
    margin-top: 32px;
  }
}