.Footer {
    position: relative;
    z-index: 1;
    background-color: rgba(40, 47, 56, 0.95);
    padding: 5rem 1rem 1.5rem;
}

.Footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 0.375rem;
    background: linear-gradient(45deg, #E94F27 0%, #FFD401 80%, #FAEA26 100%);
}

.Footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #282f38f2;
  z-index: -1;
}

.Footer-image {
    display: none;
}

.Footer a {
    display: block;
    text-decoration: none;
}

.Footer a:is(:hover, :focus) {
    color: var(--clr-medium-orange);
}

.Footer svg {
    display: block;
}

.Footer ul {
    list-style: none;
    margin: unset;
}

.Footer-mainInfo {
    padding: 0 3.25rem;
    text-align: center;
    color: var(--clr-white);
}

.Footer-mainInfo a {
    color: var(--clr-white);
}

.Footer-logo {
    width: 100%;
    max-width: 10.70519rem;
    height: auto;
    margin-bottom: 1.5rem;
}

.Footer-claim {
    margin-bottom: 2.5rem;
}

.Footer-contactTitle {
    margin-bottom: 1rem;
}

.Footer-razonSocial {
	margin-left: 2rem;
	margin-bottom: 1rem;
}

.Footer-social {
    margin-bottom: 2.5rem;
}

.Footer-socialLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(2%) hue-rotate(279deg) brightness(108%) contrast(101%);
}

.Footer-socialLinks svg {
  width: 1.5rem;
  height: 1.5rem;
}

a.Footer-contactLink {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.Footer-contactLink:last-child {
    margin-bottom: 2.5rem;
}
.Footer-contactLink svg {
    min-width: 1.5rem;
    min-height: 1.5rem;
}

.Footer-mainNav {
  display: grid;
  padding: 0 1.5rem;
  text-transform: uppercase;
}

.Footer-navTitle {
    display: block;
  color: var(--clr-white);
}

.Footer-navWrapper a {
    font-size: 0.75rem;
}

.Footer-navWrapper > ul > li:has(ul) {
  border-bottom: 1px solid #5b606880;
}

.Footer-navWrapper > ul > li > a {
    font-weight: 600;
  padding: 1rem 0;
  color: var(--clr-white);
}

.Footer-navWrapper > ul > li > ul a {
    margin-bottom: 1rem;
    color: #949CA1;
}

.Footer-listDropdown {
    border-bottom: 1px solid #5b606880;
}

.Footer-tipos .Footer-listDropdown a:is(:hover, :focus) {
  color: var(--clr-medium-orange);
}

.Footer-pages {
    margin-bottom: 2.5rem;
}

.Footer-pages a {
    color: var(--clr-white);
}

.Footer-pages ul {
  display: flex;
  flex-flow: column wrap;
  column-gap: 0.5rem;
  max-height: 10lh;
}

.Footer-pages li {
    flex-grow: 1;
    width: 50%;
}

.Footer-pages a {
    padding: 1rem 0;
}

.Footer-brands {
  display: flex;
  flex-flow: column wrap;
  gap: 1.5rem;
}

.Footer-brands img {
    height: 100%;
    max-height: 1.25rem;
    width: auto;
    object-fit: contain;
}

.Footer hr {
  background: #5B6068;
  margin: 1.5rem auto;
}

.Footer-legals {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  font-size: 0.75rem;
}

.Footer-legals *{
  color: #949CA1;
}

.Footer-legalLinks ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.Footer-legalClaim {
  text-align: center;
}

@media (width > 48em) {
    .Footer-image {
        display: block;
        position: absolute;
        inset: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
    
    .Footer-main {
      display: grid;
      grid-template-columns: 1fr 67.8%;
      column-gap: 5.75rem;
      row-gap: 6.25rem;
    }
    
    .Footer-mainInfo {
        padding: 0;
        text-align: left;
    }
    
    .Footer-claim, .Footer-social {
        margin-bottom: 4rem;
    }
    
    .Footer-socialLinks, a.Footer-contactLink {
        justify-content: flex-start;
    }
    
    .a.Footer-contactLink {
        margin-bottom: 2rem;
        gap: 0.75rem;
    }
    
    .Footer-mainNav {
      grid-template-columns: 55.9% 1fr;
      grid-template-rows: 1fr;
     column-gap: 5rem;
     row-gap: 2.94rem;
     padding: 0;
    }
    
    .Footer-products > ul {
      display: flex;
      flex-wrap: wrap;
      column-gap: 2.5rem;
      flex-direction: column;
        max-height: 50rem;
    }
    
    .Footer-products .menu-item-has-children > a {
        padding: 1rem 0;
    }
    
    .Footer-products > ul > li:nth-child(1) {
        order: -3;
    }
    
    .Footer-products > ul > li:nth-child(2) {
        order: -1;
    }
    
    .Footer-products > ul > li:nth-child(3) {
        order: -2;
    }
    
    .Footer-navWrapper > ul > li > a {
        padding: 0.5rem 0;
    }
    
    .Footer-navWrapper > ul > li > ul a {
        margin-bottom: 0.75rem;
        text-transform: none;
    }
    .Footer-navWrapper > ul > li:has(ul) {
        border: none;
    }
    
    .Footer-tipos {
      grid-row: span 2;
    }
    
    .Footer-tipos > div {
      padding-bottom: 1rem;
    }
    
    .Footer-listDropdown {
        border: none;
    }
    
    .Footer-tipos .Footer-listDropdown a {
      color: #949CA1;
      text-transform: none;
      padding: 0.5rem 0;
    }
    
    .Footer-tipos .Footer-navTitle {
        margin-bottom: 0.5rem;
    }
    
    .Footer-pages {
        margin-bottom: 0;
    }
    
    .Footer-pages ul {
      flex-direction: row;
      column-gap: 3rem;
      row-gap: 0.5rem;
      max-width: 90%;
    }
    
    .Footer-pages li {
        flex-grow: 0;
        width: unset;
    }
    
    .Footer-brands {
      flex-direction: row;
      grid-column: 1 / -1;
      place-content: center;
      column-gap: 3rem;
    }
    
    .Footer-brands a:first-child {
      width: 100%;
    }
    
    .Footer-legals {
      flex-direction: row;
      justify-content: space-between;
    }
}

/* Dropdowns para móvil */
@media (width <= 48em) {
    .Footer-tipos > div {
      padding-bottom: 1rem;
      margin-top: 1rem;
    }
    
    
    .Footer-products .menu-item-has-children, .dropdown-trigger {
        display: block;
        position: relative;
        padding-right: 2rem;
        cursor: pointer;
    }
    
    .Footer-products .menu-item-has-children::after, .dropdown-trigger::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 1.5rem;
        height: 1.5rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.41 0.580078L6 5.17008L10.59 0.580078L12 2.00008L6 8.00008L0 2.00008L1.41 0.580078Z' fill='white'/%3E%3C/svg%3E");
         background-repeat: no-repeat; 
         background-position: center;
         transition: transform 0.4s;
    }
    
    .Footer-products .menu-item-has-children::after {
        top: 1rem;
    }
    
    
    .Footer-products .menu-item-has-children.menu-open::after,
    .menu-open .dropdown-trigger::after {
        -webkit-transform: scaleY(-1);
        transform: scaleY(-1);
    }
    
    
    .Footer-products .menu-item-has-children > ul,
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .Footer-products .menu-item-has-children.menu-open > ul,
    .menu-open .dropdown-menu {
        max-height: 60rem;
    }
}