/* ============================================
   CERTIFICAZIONI
============================================ */
.project-footer-certifications {
  width: 100%;
  background: #ffffff;
  color: var(--color-primary);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.project-footer-certifications__inner {
  width: 100%; max-width: 1210px; margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.project-footer-certifications__intro { max-width: 100%; text-align: center; }

.project-footer-certifications__intro h3 {
  margin: 0 0 1.1rem; font-size: 16px;
  color: var(--color-secondary-on-light);
  font-family: var(--font-body); font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.01em;
}

.project-footer-certifications__intro p {
  margin: 0; color: rgba(0,0,0,0.82); font-weight: 400; line-height: 1.45;
}

.project-footer-certifications__logos {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2.25rem); align-items: center; width: 100%;
}

.project-footer-certifications__logo-item {
  display: flex; align-items: center; justify-content: center;
  min-width: 0; width: 100%;
  min-height: clamp(74px, 6.5vw, 96px); padding: clamp(0.3rem, 0.7vw, 0.55rem);
}

.project-footer-certifications__logo {
  display: block; width: 100%; max-width: 165px; height: auto; max-height: 92px;
  object-fit: contain;
}

/* ============================================
   FOOTER
============================================ */
.project-footer {
  width: 100%;
  background: var(--color-primary); color: var(--color-on-primary);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.project-footer__inner {
  width: 100%; max-width: none; margin-inline: 0;
  padding-inline: clamp(1.25rem, 4vw, 5rem);
}

.project-footer__top {
  display: grid; grid-template-columns: 1.1fr 1.55fr 0.9fr 1.1fr;
  gap: clamp(1.75rem, 2.6vw, 2.75rem); align-items: start;
}

.project-footer__brand {
  display: flex; flex-direction: column; gap: 1.25rem; max-width: 75%;
}

.project-footer__logo-link { display: inline-flex; width: fit-content; line-height: 0; }

.project-footer__logo {
  display: block; width: auto !important; height: 50px !important;
  max-width: 100%; object-fit: contain;
}

.project-footer__content, .project-footer__legal-left, .project-footer__legal-right {
  color: var(--color-on-primary);
}

.project-footer__content h2 {
  margin: 0 0 0.85rem; color: var(--color-on-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem); font-weight: 900; line-height: 1.15;
}

.project-footer__content p, .project-footer__content li,
.project-footer__legal-left p, .project-footer__legal-right p {
  color: rgba(255,255,255,0.82); font-size: 0.82rem; line-height: 1.55;
}

.project-footer__content p { margin: 0 0 0.85rem; }

.project-footer__content ul {
  display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none;
}
.project-footer__content li { margin: 0; }

/* Uffici: icona pin map */
.project-footer__content--offices li {
  display: grid; grid-template-columns: 1.15rem 1fr;
  gap: 0.55rem; align-items: start;
}
.project-footer__content--offices li::before {
  content: "";
  width: 1rem; height: 1rem; margin-top: 0.2rem;
  background-color: var(--color-secondary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256a64 64 0 1 1 0-128a64 64 0 1 1 0 128z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat; mask-position: center; mask-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256a64 64 0 1 1 0-128a64 64 0 1 1 0 128z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
}

.project-footer__content a, .project-footer__legal-left a, .project-footer__legal-right a {
  color: var(--color-on-primary); text-decoration: none;
}
.project-footer__content a:hover, .project-footer__legal-left a:hover, .project-footer__legal-right a:hover {
  text-decoration: underline;
}

/* CTA colonna */
.project-footer__content--cta > a {
  display: flex; align-items: center; justify-content: center;
  margin-top: 1rem; padding: 0.75rem 1.1rem;
  border: 2px solid var(--color-secondary); border-radius: var(--cta-radius);
  background: var(--color-secondary); color: var(--color-on-secondary) !important;
  font-family: var(--font-body); font-weight: var(--cta-font-weight);
  font-size: 13px; line-height: 1; text-decoration: none !important;
  box-shadow: var(--cta-shadow); transition: var(--cta-transition);
}
.project-footer__content--cta > a:hover, .project-footer__content--cta > a:focus {
  background: var(--color-secondary-hover); border-color: var(--color-secondary-hover);
  transform: translateY(-2px); box-shadow: var(--cta-shadow-hover);
}

/* Link legali */
.project-footer__legal-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 1.75rem;
  margin-top: 1.5rem; padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.project-footer__legal-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.72) !important;
  text-decoration: none !important; transition: color 0.2s ease;
  white-space: nowrap;
}

.project-footer__legal-links a:hover {
  color: #fff !important;
}

/* Bottom */
.project-footer__bottom {
  margin-top: 0.9rem; padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
}

.project-footer__legal-left,
.project-footer__legal-left p {
  margin: 0; font-size: 0.88rem !important; line-height: 1.45;
  color: rgba(255,255,255,0.72) !important;
}

/* ============================================
   SOCIAL LINKEDIN
============================================ */
.project-footer__social-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  width: fit-content; color: var(--color-on-primary); text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
.project-footer__social-link:hover { text-decoration: none; transform: translateX(2px); }

.project-footer__social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6rem; height: 1.6rem; border-radius: 999px;
  background: var(--color-on-primary); color: var(--color-primary);
  font-family: Arial, Helvetica, sans-serif; font-size: 0.82rem; font-weight: 800; line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.project-footer__social-text {
  color: rgba(255,255,255,0.82); font-size: 0.85rem; line-height: 1.35;
  transition: color 0.25s ease, transform 0.25s ease;
}

.project-footer__social-link:hover .project-footer__social-icon {
  background: var(--color-secondary); color: var(--color-on-secondary);
  transform: scale(1.06); box-shadow: 0 0 0 4px rgba(191,161,90,0.18);
}

.project-footer__social-link:hover .project-footer__social-text {
  color: var(--color-on-primary); transform: translateX(2px);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1199px) {
  .project-footer-certifications__logos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .project-footer-certifications__logo { max-width: 140px; max-height: 88px; }
  .project-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-footer__brand { max-width: 100%; }
  .project-footer__legal-links { justify-content: flex-start; }
}

@media (max-width: 899px) {
  .project-footer-certifications__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
  .project-footer-certifications__logo-item { min-height: 88px; }
  .project-footer-certifications__logo { max-width: 150px; max-height: 88px; }
}

@media (max-width: 767px) {
  .project-footer-certifications { padding-block: 2.75rem; }
  .project-footer-certifications__inner { padding-inline: 1.25rem; gap: 2rem; }
  .project-footer-certifications__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 1rem; }
  .project-footer-certifications__logo-item { min-height: 78px; padding: 0.35rem; }
  .project-footer-certifications__logo { max-width: 130px; max-height: 72px; }
  .project-footer { padding-block: 2.5rem 1.25rem; }
  .project-footer__inner { padding-inline: 1.25rem; }
  .project-footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .project-footer__logo { height: 50px; }
  .project-footer__content h2 { font-size: 1.35rem; }
  .project-footer__content p, .project-footer__content li { font-size: 0.9rem; }
  .project-footer__content--cta > a { width: 100%; font-size: 16px; }
  .project-footer__legal-links {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
    gap: 0.85rem 1.75rem;
  }
  .project-footer__legal-links a { font-size: 0.95rem !important; }
  .project-footer__legal-left,
  .project-footer__legal-left p { font-size: 0.95rem !important; }
  .project-footer__bottom { text-align: left; }
}

@media (max-width: 420px) {
  .project-footer-certifications__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .project-footer-certifications__logo-item { min-height: 72px; }
  .project-footer-certifications__logo { max-width: 120px; max-height: 68px; }
}
