footer {
  background-color: var(--bg-tertiary);
  padding-block-start: var(--section-padding);
  padding-block-end: var(--columns-gap);
}
footer .wrapper {
  column-gap: var(--section-padding);
}
footer .wrapper > div:last-child {
  grid-column: span 2;
}
footer img:first-child {
  inline-size: 12rem;
}
footer :where(.aso, .exp) {
  max-block-size: 2.5rem;
  object-fit: contain;
  inline-size: fit-content;
}
footer :where(.aso) {
  filter: invert();
}
footer :where(.c5) {
  filter: brightness(0.3) invert();
  inline-size: 4rem;
}
footer :where(p, a) {
  color: var(--clr-900);
}
footer .cards-wrapper {
  display: grid;
  gap: var(--gap);
}
footer .cards-wrapper > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap);
  align-items: center;
}
footer .brxe-social-icons span {
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  block-size: 0.0625rem;
  inline-size: 0.0625rem;
  overflow: hidden;
  /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible .0625rem box */
  clip: rect(0.0625rem, 0.0625rem, 0.0625rem, 0.0625rem);
  /* modern browsers, clip-path works inwards from each corner */
  clip-path: inset(50%);
  /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
  white-space: nowrap;
}
footer .brxe-social-icons li {
  border-radius: var(--br-full);
  inline-size: 3rem;
  block-size: 3rem;
  flex-grow: 0;
}
footer .brxe-social-icons i {
  font-size: var(--fs-l);
}
footer .cards-wrapper a {
  line-height: 1.1;
}
footer .cards-wrapper > div p:first-of-type {
  font-size: var(--fs-2xs);
}
footer .cards-wrapper i {
  font-size: var(--fs-s);
  color: var(--clr-0);
  background-color: var(--clr-1000);
  border-radius: var(--br-full);
  padding: 1rem;
}
footer .wrapper > div:nth-child(3) a:nth-child(1) {
  display: block;
}
footer .whatsapp {
  position: fixed;
  inset-block-end: 100px;
  inset-inline-end: 30px;
  inline-size: 38px;
  aspect-ratio: 1;
  border-radius: 25%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 2px hsl(0 0% 0% / 0.25));
}

@media (width < 64rem) {
  footer .wrapper > div:last-child {
    grid-column: unset;
  }
}
@media (width < 40rem) {
  footer .whatsapp {
    inset-block-end: 80px;
    inset-inline-end: 20px;
  }
}

/* #region MARK: cotizar-popup */
.cotizar-popup {
  max-inline-size: 95%;
  inline-size: 55ch;
  padding: 0;
  border: none;
}
.cotizar-popup::backdrop {
  background: linear-gradient(#000d, #000a);
}
.cotizar-popup > div {
  position: relative;
  padding: var(--gap);
  display: grid;
  justify-items: center;
  gap: var(--gap);
}
.cotizar-popup .logo {
  inline-size: 10rem;
}
.cotizar-popup p {
  color: var(--clr-text);
}
.cotizar-popup .close-btn {
  background-color: transparent;
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 10;
  background-color: var(--clr-0);
  border-radius: var(--br-full);
}
.cotizar-popup .close-btn svg {
  inline-size: 2rem;
  padding: 0.3em;
  color: var(--clr-1000);
}
/* #endregion*/
