
/* =========================================
   CASA CUBO — FOOTER GLOBAL
   ========================================= */

.cc-footer {
  background: #201e1b;
  color: #e9e5df;
  font-family: "DM Sans", sans-serif;
  padding: 32px 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.cc-footer * {
  box-sizing: border-box;
}

.cc-footer p {
  margin: 0;
  line-height: 1.6;
}

.cc-footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cc-footer a:hover {
  opacity: 0.65;
}


/* DISTRIBUCIÓN PRINCIPAL */

.cc-footer-main {
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
}


/* LOGO Y MARCA */

.cc-footer-logo {
  display: block;
  width: 100px;
  height: 85px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}

.cc-footer-brand p {
  font-size: 14px;
  color: #bcb7b0;
}


/* NAVEGACIÓN */

.cc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 12px;
  font-size: 15px;
}


/* UBICACIÓN */

.cc-footer-location {
  border-left: 1px solid #48443f;
  padding-left: 28px;
  font-size: 15px;
}

.cc-footer-location strong {
  display: block;
  margin-top: 4px;
}

.cc-footer-location a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: #bcb7b0;
}


/* CRÉDITOS */

.cc-footer-credits {
  border-left: 1px solid #48443f;
  padding-left: 28px;
  font-size: 15px;
}


/* FRANJA INFERIOR */

.cc-footer-bottom {
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #48443f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #bcb7b0;
}

.cc-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}


/* TABLETS */

@media (max-width: 1100px) {

  .cc-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cc-footer-location,
  .cc-footer-credits {
    border-left: none;
    padding-left: 0;
  }

}


/* SMARTPHONES */

@media (max-width: 650px) {

  .cc-footer {
    padding: 32px 0 24px;
  }

  .cc-footer-main {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 28px;
  }

  .cc-footer-logo {
    width: 85px;
    height: 75px;
  }

  .cc-footer-nav {
    padding-top: 0;
    gap: 14px 20px;
  }

  .cc-footer-location,
  .cc-footer-credits {
    border-top: 1px solid #48443f;
    padding-top: 22px;
  }

  .cc-footer-bottom {
    width: 88%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 12px;
  }

}

/* AJUSTES FINALES DEL FOOTER */

.cc-footer-logo {
  margin-bottom: 4px;
}

@media (min-width: 1101px) {

  .cc-footer-location,
  .cc-footer-credits {
    align-self: stretch;
  }

}

.cc-footer-bottom {
  padding-right: 80px;
}

@media (max-width: 650px) {

  .cc-footer-bottom {
    padding-right: 0;
    padding-bottom: 65px;
  }

}
