/* ==========================================================
   FOOTER - DESGUACES ALCALÁ
========================================================== */

.da-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 113, 188, 0.24) 0%, transparent 32%),
    linear-gradient(
      135deg,
      var(--da-primary-dark) 0%,
      #07145f 48%,
      #06104c 100%
    );
  color: #fff;
  padding: 44px 0 0;
}

.da-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--da-transition), opacity var(--da-transition);
}

.da-footer a:hover {
  color: #fff;
}

.da-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr 1fr;
  gap: 38px;
  padding-bottom: 42px;
}

.da-footer__col {
  min-width: 0;
}

.da-footer__title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.42);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.da-footer__nav {
  display: grid;
  gap: 9px;
}

.da-footer__nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.35;
}

.da-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Pagos */

.da-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.da-footer__payment {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
}

.da-footer__payment img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96px;
  max-height: 30px;
  object-fit: contain;
}

.da-footer__company {
  max-width: 430px;
}

.da-footer__company p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  line-height: 1.45;
}

.da-footer__company strong {
  color: #fff;
  font-weight: 850;
}

/* Certificaciones */

.da-footer__certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.da-footer__cert {
  width: 68px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.da-footer__cert img {
  display: block;
  width: auto;
  height: auto;
  max-width: 58px;
  max-height: 44px;
  object-fit: contain;
}

.da-footer__cert--wide {
  width: 86px;
}

.da-footer__cert--wide img {
  max-width: 76px;
}

/* Bottom */

.da-footer__bottom {
  min-height: 60px;
  display: grid;
  grid-template-columns: 1.2fr auto 1fr 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.da-footer__contact,
.da-footer__social,
.da-footer__credits,
.da-footer__copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.4;
}

.da-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.da-footer__contact span + span::before {
  content: "|";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.58);
}

.da-footer__contact a,
.da-footer__credits a {
  color: #fff;
  font-weight: 800;
}

.da-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.da-footer__social a {
  color: #fff;
  font-weight: 800;
}

.da-footer__social a:not(:last-child)::after {
  content: "|";
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.58);
}

.da-footer__credits {
  text-align: center;
}

.da-footer__copyright {
  text-align: right;
}

.da-footer__copyright strong {
  color: #fff;
  font-style: italic;
  font-weight: 950;
}

/* Responsive */

@media (max-width: 1199px) {
  .da-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }

  .da-footer__bottom {
    grid-template-columns: 1fr 1fr;
  }

  .da-footer__credits {
    text-align: left;
  }

  .da-footer__copyright {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .da-footer {
    padding-top: 36px;
  }

  .da-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .da-footer__title {
    margin-bottom: 14px;
  }

  .da-footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0 22px;
  }

  .da-footer__contact,
  .da-footer__social,
  .da-footer__credits,
  .da-footer__copyright {
    text-align: left;
  }

  .da-footer__contact {
    display: grid;
    gap: 4px;
  }

  .da-footer__contact span + span::before {
    content: none;
  }
}

@media (max-width: 420px) {
  .da-footer__payments,
  .da-footer__certifications {
    gap: 8px;
  }

  .da-footer__cert {
    width: 64px;
    height: 50px;
  }

  .da-footer__cert img {
    max-width: 54px;
    max-height: 40px;
  }

  .da-footer__cert--wide {
    width: 78px;
  }

  .da-footer__cert--wide img {
    max-width: 68px;
  }
}